Files
Audio-Classifier/frontend/Dockerfile
2025-12-06 22:44:12 +01:00

26 lines
369 B
Docker

FROM node:20-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci
# Copy application code
COPY . .
# Debug: List files to verify lib/ is present
RUN ls -la /app && ls -la /app/lib
# Build the application
RUN npm run build
# Expose port
EXPOSE 3000
# Start the application
CMD ["npm", "start"]