Files
PromptBase/Dockerfile
2025-07-28 17:01:24 +00:00

16 lines
263 B
Docker

FROM node:20-alpine
WORKDIR /app
COPY app/package*.json ./
RUN npm install
COPY app .
# Add this debug line:
RUN echo "Build starting..." && npm run build && echo "Build finished." && ls -la dist
RUN npm install -g serve
CMD ["serve", "dist", "-l", "4321"]