Files
nullcart_promo_website/nginx/Dockerfile.prod
T

16 lines
413 B
Docker

FROM nginx:alpine
RUN apk add --no-cache gettext \
&& rm /etc/nginx/conf.d/default.conf
COPY index.html robots.txt sitemap.xml /usr/share/nginx/html/
COPY css/ /usr/share/nginx/html/css/
COPY assets/ /usr/share/nginx/html/assets/
COPY nginx/conf.d/ /etc/nginx/templates/conf.d/
COPY nginx/docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]