Files
oembed-graphics/Dockerfile
Aiden Wilson 959f6590c3
Some checks failed
Build & Push Docker (latest) / build (push) Has been cancelled
Build & Push Docker (latest) / verify (push) Has been cancelled
conversion to type script
2026-05-29 23:55:31 +10:00

17 lines
250 B
Docker

FROM node:22-alpine
ENV NODE_ENV=production
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
EXPOSE 3000
CMD ["npm", "start"]