diff --git a/docker/Dockerfile b/docker/Dockerfile index 5ab06bd..d3c2305 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -5,13 +5,14 @@ RUN rm -rf /app/* COPY ./package.json . COPY ./yarn.lock . -COPY ./docker/wait-for-it.sh . RUN yarn COPY . . RUN yarn build + WORKDIR /app/dist +COPY ./docker/wait-for-it.sh . EXPOSE ${EXPOSE} -HEALTHCHECK --interval=5m --timeout=30s CMD curl -f http://localhost/ || kill -s 2 1 +#HEALTHCHECK --interval=5m --timeout=30s CMD curl -f http://localhost/ || kill -s 2 1 CMD ["node", "./index.js"]