mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
19 lines
346 B
Docker
19 lines
346 B
Docker
FROM python:3.8-buster
|
|
|
|
ENV PYTHONUNBUFFERED=1 \
|
|
POETRY_VERSION=1.1.2 \
|
|
POETRY_VIRTUALENVS_CREATE="false"
|
|
|
|
RUN pip install "poetry==$POETRY_VERSION"
|
|
|
|
WORKDIR /app
|
|
|
|
COPY pyproject.toml poetry.lock docker-entrypoint.sh ./
|
|
RUN poetry install --no-interaction --no-ansi --no-dev
|
|
|
|
COPY . /app
|
|
|
|
EXPOSE 80
|
|
|
|
ENTRYPOINT ["./docker-entrypoint.sh"]
|