Files
temp-history-api/Dockerfile
AzenKain 9bcdfd6701
Some checks failed
Build and Release / release (push) Failing after 11s
init
2026-04-20 09:30:32 +07:00

24 lines
305 B
Docker

FROM node:24-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM node:24-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/data ./data
EXPOSE 3000
CMD ["node", "dist/index.js"]