mirror of
https://github.com/lemeow125/EquipmentTracker-Backend.git
synced 2024-11-16 21:59:25 +08:00
Update dockerfile for crossplatform building
This commit is contained in:
parent
c43df90d77
commit
09149223a6
1 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,5 @@
|
||||||
# Use the official Python 3.11 image
|
ARG DOCKER_PLATFORM=$TARGETPLATFORM
|
||||||
# FROM --platform=arm64 python:3.11.4-bookworm
|
FROM --platform=$DOCKER_PLATFORM python:3.11.4-bookworm
|
||||||
# ARG BUILDPLATFORM
|
|
||||||
FROM python:3.11.4-bookworm
|
|
||||||
|
|
||||||
ENV PYTHONBUFFERED 1
|
ENV PYTHONBUFFERED 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue