Files
healthy_oil/Dockerfile
2025-03-16 21:18:31 +08:00

15 lines
219 B
Docker

FROM node:18-alpine
WORKDIR /app
COPY package.json .
RUN npm install
RUN npm install -g serve
COPY . .
RUN npm run build
EXPOSE 3000
# Serve the static files after building
CMD ["serve", "-s", "dist", "-l", "3000"]