Skip to content

Commit

Permalink
Merge pull request #8 from factly/fix/poetry-docker
Browse files Browse the repository at this point in the history
fix: add poetry version in dockerfile
  • Loading branch information
100mi authored Sep 22, 2022
2 parents bbfb84a + ee50105 commit cb6d15e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9

WORKDIR /app

ENV POETRY_VERSION=1.1.7

# Install Poetry
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
cd /usr/local/bin && \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9

WORKDIR /app

ENV POETRY_VERSION=1.1.7

# Install Poetry
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
cd /usr/local/bin && \
Expand Down

0 comments on commit cb6d15e

Please sign in to comment.