1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00
vk-tg-bot/docker/Dockerfile
2024-01-12 18:19:26 +07:00

17 lines
251 B
Docker

FROM node:18-bookworm as builder
WORKDIR /app
RUN apt update && apt install tzdata -y
COPY ./package.json .
COPY ./yarn.lock .
RUN yarn
COPY . .
RUN yarn build
WORKDIR /app/dist
COPY ./docker/wait-for-it.sh .
EXPOSE 80
CMD ["node", "./index.js"]