Files
oembed-graphics/Dockerfile
Aiden Wilson 3e6b128643
All checks were successful
Build & Push Docker (latest) / verify (push) Successful in 9m31s
Build & Push Docker (latest) / build (push) Successful in 16s
ci update
2026-05-29 23:58:42 +10:00

17 lines
250 B
Docker

FROM node:22-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY src ./src
COPY public ./public
COPY scripts ./scripts
COPY tsconfig.json ./
RUN npm run build && npm prune --omit=dev
ENV NODE_ENV=production
EXPOSE 3000
CMD ["npm", "start"]