File size: 332 Bytes
ba7b9c7 677e29c ba7b9c7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Use an official Python runtime as a parent image
FROM python:3.9-slim
# Set the working directory in the container
WORKDIR /app
# Copy all project files into the container at /app
COPY . /app
COPY requirements.txt /opt/app/requirements.txt
RUN pip install -r requirements.txt
# Run 'python main.py'
CMD ["python", "main.py"] |