From a5a85e6032cabf4c1065367b82c00710a2c7e4d8 Mon Sep 17 00:00:00 2001 From: Brain Date: Wed, 21 Aug 2024 21:08:52 +0200 Subject: [PATCH] Fix Dockerfile warnings --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5ec9d45..304abf6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,10 @@ # # SPDX-License-Identifier: AGPL-3.0-or-later -FROM python:3.8.18-alpine as builder +FROM python:3.8.18-alpine AS builder -ENV PYROOT /pyroot -ENV PYTHONUSERBASE $PYROOT +ENV PYROOT=/pyroot +ENV PYTHONUSERBASE=$PYROOT RUN apk add --no-cache \ gcc \ @@ -20,10 +20,10 @@ RUN PIP_USER=1 PIP_IGNORE_INSTALLED=1 pipenv install --system --deploy --ignore- RUN pip3 uninstall --yes pipenv -FROM python:3.8.18-alpine as ki-backend +FROM python:3.8.18-alpine AS ki-backend -ENV PYROOT /pyroot -ENV PYTHONUSERBASE $PYROOT +ENV PYROOT=/pyroot +ENV PYTHONUSERBASE=$PYROOT # Install six explicitly. Otherwise Python complains about it missing. RUN pip3 install six