forked from leftypol/leftypol
docker: extract the vichan directory and make it optionally exposable
This commit is contained in:
parent
6ba2c7cf42
commit
df7d7e1d3c
6 changed files with 147 additions and 41 deletions
|
@ -2,9 +2,7 @@ FROM nginx:1.25.3-alpine
|
|||
|
||||
COPY . /code
|
||||
RUN adduser --system www-data \
|
||||
&& adduser www-data www-data \
|
||||
&& /code/docker/common-setup.sh
|
||||
|
||||
&& adduser www-data www-data
|
||||
|
||||
CMD [ "nginx", "-g", "daemon off;" ]
|
||||
EXPOSE 80
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue