Files
gob-alert/apps/api/Dockerfile
alexandrump 82f3464565 first commit
2026-02-09 01:02:53 +01:00

16 lines
215 B
Docker

FROM node:18-alpine
WORKDIR /usr/src/app
# install deps
COPY package*.json ./
RUN npm install
# copy sources and build
COPY . .
RUN npm run build
ENV NODE_ENV=production
EXPOSE 3000
CMD ["node", "dist/main.js"]