AiAi0 / dockerfile.yml
acecalisto3's picture
Upload 3 files
8058749 verified
raw
history blame
445 Bytes
# Base image
FROM python:3.9-slim-buster
# Set working directory
WORKDIR /app
# Copy requirements.txt and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy package.json and install npm packages
COPY package.json .
RUN apt-get update && apt-get install -y npm && npm install
# Copy the rest of the files
COPY . .
# Expose the port
EXPOSE 3000
# Start the application
CMD ["npm", "start"]