We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e159366 commit d05ca2fCopy full SHA for d05ca2f
2 files changed
Dockerfile
@@ -0,0 +1,14 @@
1
+FROM tiangolo/uvicorn-gunicorn:python3.8
2
+
3
+# Install Poetry
4
+RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
5
+ cd /usr/local/bin && \
6
+ ln -s /opt/poetry/bin/poetry && \
7
+ poetry config virtualenvs.create false
8
9
+# Copy using poetry.lock* in case it doesn't exist yet
10
+COPY ./app/pyproject.toml ./app/poetry.lock* /app/
11
12
+RUN poetry install --no-root --no-dev
13
14
+COPY ./app /app
pyproject.toml
@@ -6,7 +6,7 @@ authors = ["Patrick Arminio <patrick.arminio@gmail.com>"]
license = "MIT"
[tool.poetry.dependencies]
-python = "^3.9"
+python = "^3.8"
strawberry-graphql = "^0.44.12"
uvicorn = "^0.13.3"
starlette = "^0.14.1"
0 commit comments