ZKP-License-System/test-frontend/Dockerfile

18 lines
No EOL
281 B
Docker

# Test Frontend Dockerfile
FROM node:18-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
RUN npm ci
# Copy application code
COPY . .
# Build the React app (if using build process)
RUN if [ -f "build.js" ]; then npm run build; fi
EXPOSE 3000
CMD ["npm", "start"]