From 21024278c6c95a09365822fc4b9fb113822cfefe Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Thu, 27 Jan 2022 11:40:30 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 50040cc..6f57952 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,8 +44,9 @@ RUN FRONTEND_BUILD_DIR=/frontend /venv/*/bin/python ./manage.py add_version ${BU FROM python:3.7-alpine AS backend ENV DOCKERIZE_VERSION v0.6.1 +ENV DOCKERIZE_ARCH amd64 ARG TARGETPLATFORM -RUN if [ "$TARGETPLATFORM" = "arm64" ]; \ +RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; \ then export DOCKERIZE_ARCH=armhf; \ else export DOCKERIZE_ARCH=amd64; \ fi