Files
blog/Dockerfile
2025-02-06 05:14:25 +06:00

11 lines
162 B
Docker

FROM node:22-alpine
RUN apk add --no-cache git
WORKDIR /app
COPY package*.json ./
RUN yarn install
COPY . .
RUN yarn build
EXPOSE 3000
CMD ["node", "server.js"]