Files
line-of-sight/frontend/Dockerfile
T
(jenkins) c26f458df7
Tests / backend-test (pull_request) Successful in 6s
Tests / frontend-test (pull_request) Failing after 7s
Tests / e2e-test (pull_request) Failing after 1m29s
Fix issue with localhost refs
2026-04-17 00:45:24 +01:00

20 lines
295 B
Docker

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