Spaces:
No application file
No application file
File size: 244 Bytes
9047fae |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM node:16-alpine
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm install
COPY . ./
RUN npm run build
RUN npm install -g serve
# Set the command to serve the built app
CMD ["serve", "-s", "build", "-l", "7860"]
EXPOSE 7860 |