16 lines
220 B
Docker
16 lines
220 B
Docker
FROM python:3.8-slim-buster
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE 1
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt update && \
|
|
pip install --upgrade pip
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
COPY . .
|