Skip to content

Commit

Permalink
api.Dockerfile: Switch FROM to multiarchitecture
Browse files Browse the repository at this point in the history
The thing we used before does not support ARM64. There are open issues since 2021 https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker/issues?q=is%3Aissue+is%3Aopen+arm64

One user created new project called Multi-Py that builds multiplatform containers. See tiangolo/uvicorn-gunicorn-fastapi-docker#118 and https://github.com/multi-py/python-uvicorn
  • Loading branch information
tordans committed Nov 13, 2023
1 parent 4ad6c3a commit 2a32f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atlas-geo/atlas-geo/api.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11
FROM ghcr.io/multi-py/python-uvicorn:py3.11-0.24.0

COPY ./api/requirements.txt /app/requirements.txt

Expand Down

0 comments on commit 2a32f92

Please sign in to comment.