From 4de2f11f615f3c8c2c41465ec524c4306e198db7 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 26 Jan 2022 00:22:04 +0000 Subject: [PATCH] build(docker): remove the Nginx container --- Dockerfile | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/Dockerfile b/Dockerfile index be98a185..b756f807 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,28 +77,3 @@ COPY --chown=sculpin:sculpin --from=assets /app/build /build ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] CMD ["bash"] - -### - -FROM nginx:1 AS production - -COPY tools/docker/images/nginx/root/ / - -RUN mkdir -p /code && \ - chown -R nginx:nginx /code && \ - chmod -R 755 /code && \ - chown -R nginx:nginx /var/cache/nginx && \ - chown -R nginx:nginx /var/log/nginx && \ - chown -R nginx:nginx /etc/nginx/conf.d - -RUN touch /var/run/nginx.pid && \ - chown -R nginx:nginx /var/run/nginx.pid - -USER nginx - -WORKDIR /code - -COPY --chown=nginx --from=build /app/output_prod ./ -COPY --chown=nginx --from=assets /app/build build - -EXPOSE 8080