Files
lenochka/deploy/dockerfiles/test.Dockerfile
Pavel Kirilin 2091068ef6 Initial commit.
Signed-off-by: Pavel Kirilin <win10@list.ru>
2021-06-07 02:15:45 +04:00

18 lines
400 B
Docker

FROM python:3.9-alpine3.13
RUN apk add --no-cache curl gcc musl-dev
ENV POETRY_VERSION 1.1.6
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
ENV PATH="${PATH}:/root/.local/bin:/root/.poetry/bin"
RUN source "/root/.poetry/env"
# Installing requirements
RUN poetry config virtualenvs.create false
COPY . /app/
WORKDIR /app/
RUN poetry install