เพิ่ม env api

This commit is contained in:
Kittapath 2023-05-10 14:59:54 +07:00
parent 34d9066272
commit ef96698845
6 changed files with 39 additions and 14 deletions

View file

@ -10,3 +10,9 @@ FROM nginx as production-stage
RUN mkdir /app
COPY --from=build-stage /app/dist /app
COPY nginx.conf /etc/nginx/nginx.conf
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod u+x /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]