Spaces:
Sleeping
Sleeping
File size: 261 Bytes
88be6fd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
FROM node:20-alpine as build
WORKDIR /app
# Install dependencies
COPY package.json package-lock.* ./
RUN npm install
# Build the application
COPY . .
RUN npm run build
# ====================================
FROM build as release
CMD ["npm", "run", "start"] |