This commit is contained in:
2026-03-09 12:29:51 +03:00
parent c87882d2b4
commit 9e7307cae8
7 changed files with 167 additions and 58 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
#FROM node:lts-alpine
FROM oven/bun:canary-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
RUN apk add --no-cache tzdata
ENV NODE_ENV=production
ENV TZ=Europe/Moscow
CMD ["node", "dist/main"]
EXPOSE 3000/tcp
ENTRYPOINT [ "bun", "run", "index.ts" ]