Files
line-of-sight/frontend/Dockerfile
T

20 lines
284 B
Docker

FROM node:24-alpine
WORKDIR /app
# Install dependencies
COPY package*.json ./
RUN npm install
# Copy source code
COPY . .
# Expose port
EXPOSE 3000
# Set environment variable for API URL
ENV VITE_API_URL=http://localhost:3001/api
# Start development server
CMD ["npm", "start"]