2023-11-19 11:28:30 +00:00
|
|
|
FROM nginx:1.25.3-alpine
|
2023-09-09 16:55:38 +02:00
|
|
|
|
|
|
|
RUN mkdir app
|
|
|
|
RUN mkdir -p /run/nginx
|
|
|
|
|
|
|
|
COPY build /app
|
|
|
|
COPY docker/nginx/conf.d/ /etc/nginx/conf.d/
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
VOLUME [ "/etc/nginx/conf.d" ]
|
|
|
|
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|