diff --git a/Dockerfile b/Dockerfile index 0cc0d12..1fc21eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] ##__________________________________________________________________||