openrag/Dockerfile.frontend
2025-08-01 10:12:39 -04:00

20 lines
No EOL
299 B
Text

FROM node:18-slim
# Set working directory
WORKDIR /app
# Copy frontend dependencies
COPY frontend/package*.json ./
RUN npm install
# Copy frontend source
COPY frontend/ ./
# Build frontend
RUN npm run build
# Expose frontend port
EXPOSE 3000
# Start frontend in foreground
CMD ["npm", "start"]