Files
Stefan Georg Rath 79fb5ec55b
Some checks failed
Build and Push to Scaleway Registry / build (push) Failing after 23s
Runner Test / test-connection (push) Successful in 3s
project setup
2026-02-07 19:20:20 +01:00

24 lines
290 B
Docker

# Build Stage
FROM node:24-slim AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY tsconfig.json ./
COPY src/ .
RUN npm run build
# Run Stage
FROM node:24-slim
WORKDIR /app
ENV NODE_ENV=production
COPY --from=builder /app .
EXPOSE 3300
CMD ["node", "dist/index.js"]