Merge branch 'main' of https://git.benoitsz.com/benoit/Audio-Classifier
This commit is contained in:
@@ -6,8 +6,11 @@ WORKDIR /app
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci
|
||||
# Debug: List files and Node.js version
|
||||
RUN ls -la && node --version && npm --version
|
||||
|
||||
# Install dependencies with more verbose output
|
||||
RUN npm install --verbose
|
||||
|
||||
# Copy application code
|
||||
COPY . .
|
||||
|
||||
19
frontend/Dockerfile.dev
Normal file
19
frontend/Dockerfile.dev
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Debug: List files and Node.js version
|
||||
RUN ls -la && node --version && npm --version
|
||||
|
||||
# Install dependencies with more verbose output
|
||||
RUN npm install --verbose
|
||||
|
||||
# Expose port
|
||||
EXPOSE 3000
|
||||
|
||||
# Start the development server
|
||||
CMD ["npm", "run", "dev"]
|
||||
Reference in New Issue
Block a user