lotr-sut/sut/frontend/Dockerfile
Fellowship Scholar f6a5823439 init commit
2026-03-29 20:07:56 +00:00

25 lines
378 B
Docker

FROM node:20-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
COPY tsconfig.json ./
# Install dependencies
RUN npm install
# Copy source files
COPY . .
# Expose port
EXPOSE 3000
# Disable react-refresh for Docker environment
ENV SKIP_PREFLIGHT_CHECK=true
ENV DISABLE_ESLINT_PLUGIN=true
ENV FAST_REFRESH=false
# Start development server
CMD ["npm", "start"]