docker: extract the vichan directory and make it optionally exposable

This commit is contained in:
Zankaria 2024-03-31 23:17:38 +02:00 committed by Zankaria
parent 6ba2c7cf42
commit df7d7e1d3c
6 changed files with 147 additions and 41 deletions

View file

@ -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