Skip to content

Commit

Permalink
let docker exit with ctrl-c
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Feb 3, 2022
1 parent 01bc261 commit 278b6b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ RUN npm run build

##__________________________________________________________________||
FROM nginx:1.19
RUN apt-get update && apt-get install -y dumb-init
COPY --from=build /app/src/dist /usr/share/nginx/html
COPY docker/etc-nginx-conf.d-default.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
COPY docker/cmd.sh /
RUN chmod +x /cmd.sh
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD [ "/cmd.sh" ]

##__________________________________________________________________||

0 comments on commit 278b6b3

Please sign in to comment.