diff --git a/WebDisplay/Dockerfile b/WebDisplay/Dockerfile index 1fdf995..1abc2df 100644 --- a/WebDisplay/Dockerfile +++ b/WebDisplay/Dockerfile @@ -15,4 +15,5 @@ COPY --from=build-stage /app/dist /usr/share/nginx/html EXPOSE 80 COPY ./nginx/entrypoint.sh ./docker-entrypoint.d/entrypoint.sh RUN chmod +x ./docker-entrypoint.d/entrypoint.sh -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file +RUN echo "daemon off;" >> /etc/nginx/nginx.conf +CMD ["nginx"] \ No newline at end of file