/ Dockerfile
Dockerfile
1 FROM python:3.7-alpine3.12 2 3 WORKDIR /usr/src/app 4 5 COPY requirements.txt ./ 6 RUN pip install --no-cache-dir -r requirements.txt 7 8 COPY . . 9 10 CMD [ "python", "./main.py" ]
1 FROM python:3.7-alpine3.12 2 3 WORKDIR /usr/src/app 4 5 COPY requirements.txt ./ 6 RUN pip install --no-cache-dir -r requirements.txt 7 8 COPY . . 9 10 CMD [ "python", "./main.py" ]