1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-25 06:56:40 +07:00

#6 removed node_modules volume

This commit is contained in:
Fedor Katurov 2021-05-13 14:24:32 +07:00
parent 814f1ade78
commit b4dd6b93fd
2 changed files with 1 additions and 4 deletions

View file

@ -6,13 +6,12 @@ RUN rm -rf /app/*
COPY ./package.json .
COPY ./yarn.lock .
RUN yarn
COPY . .
RUN yarn
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
CMD ["node", "./index.js"]