20241113-a

This commit is contained in:
unknown
2024-11-13 09:05:45 +08:00
commit 3bcaa20bc4
186 changed files with 100169 additions and 0 deletions

14
docker/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM nginx:stable-alpine
ARG version=0.0.0
ENV VERSION=${version}
# ENV INTERCEPT_POST=true
COPY pub /etc/nginx/html
COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
COPY docker/nginx/default.conf /etc/nginx/conf.d/default.conf
COPY docker/docker-entrypoint.sh /docker-entrypoint.d/40-dynamic-subpath.sh
RUN chmod +x /docker-entrypoint.d/40-dynamic-subpath.sh \
&& echo ${version} > /etc/nginx/html/VERSION
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]