Files

20 lines
295 B
Docker
Raw Permalink Normal View History

FROM node:24-alpine
WORKDIR /app
# Install dependencies
COPY package*.json ./
RUN npm install
# Copy source code
COPY . .
# Expose port
EXPOSE 3050
2026-04-17 00:45:24 +01:00
# Set environment variable for API URL (relative to the frontend host)
ENV VITE_API_URL=/api
# Start development server
CMD ["npm", "start"]