ID2223_Lab2 / Dockerfile
Marcus719's picture
Create Dockerfile
45023b4 verified
FROM python:3.11-slim
RUN apt-get update && apt-get install -y build-essential git
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
CMD ["python", "app.py"]