docker: extract the vichan directory and make it optionally exposable

This commit is contained in:
Zankaria
2024-03-31 23:17:38 +02:00
parent b1b28dcb90
commit 7aca69125f
6 changed files with 117 additions and 43 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