20241113-a
This commit is contained in:
14
docker/Dockerfile
Normal file
14
docker/Dockerfile
Normal 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;"]
|
||||
Reference in New Issue
Block a user