Fix container start

This commit is contained in:
2024-12-17 14:21:39 +00:00
parent e13839dfc3
commit e7eadf5167
2 changed files with 4 additions and 5 deletions

View File

@@ -13,7 +13,6 @@ COPY nginx/default.conf /etc/nginx/conf.d/
RUN rm -rf /usr/share/nginx/html/*
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
COPY ./nginx/entrypoint.sh ./entrypoint.sh
RUN chmod +x ./entrypoint.sh
ENTRYPOINT ["./entrypoint.sh"]
COPY ./nginx/entrypoint.sh ./docker-entrypoint.d/entrypoint.sh
RUN chmod +x ./docker-entrypoint.d/entrypoint.sh
CMD ["nginx", "-g", "daemon off;"]