Emmylahottts / dockerfile
Emmylahot12's picture
Update dockerfile
c1861ab verified
raw
history blame contribute delete
394 Bytes
# Start with a supported Python version
FROM python:3.9-slim
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements.txt file
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the code to the container
COPY . .
# Command to run the app (adjust the filename if needed)
CMD ["python", "app.py"]