mdiagnostic / Dockerfile
angeloqq's picture
Update Dockerfile
fdb4875 verified
raw
history blame
410 Bytes
# Use the official Python base image
FROM python:3.9-slim
# Set the working directory in the container
WORKDIR /
# Copy the dependencies file to the working directory
COPY requirements.txt .
# Install any dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application code to the working directory
COPY . .
# Command to run the application
CMD ["python", "app/app.py"]