FlowForge/frontend/Dockerfile.dev

19 lines
291 B
Docker

FROM node:18-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source code (this will be overridden by volume mount in dev)
COPY . .
# Expose port
EXPOSE 3000
# Start development server with hot reloading
CMD ["npm", "start"]