Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

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 f03d053 commit eb795ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 eb795ae

Please sign in to comment.