From 4ded1778f46518d68d65565b89a531c7e1e65b82 Mon Sep 17 00:00:00 2001 From: Mohamed Abdul Huq Ismail Date: Wed, 28 Aug 2024 22:44:43 -0400 Subject: [PATCH] Fix env variable syntax --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f24c8ac..1129cbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM python:3.10-bullseye USER root -ENV POETRY_VERSION 1.4.1 +ENV POETRY_VERSION=1.4.1 # Clean up APT when done. RUN apt-get update && \ apt-get -y install \ @@ -28,7 +28,7 @@ RUN pip3 install --no-cache-dir poetry==$POETRY_VERSION \ ARG NB_UID="1000" ARG NB_GID="100" -ENV SAGERENDER_USER sagerender +ENV SAGERENDER_USER=sagerender USER root # Setup the "sagemaker" user with root privileges. @@ -42,8 +42,8 @@ RUN \ rm -rf /var/lib/apt/lists/* -ENV SAGERENDER_PROJECT sagerender -ENV SAGERENDER_PROJECT_DIR /opt/code +ENV SAGERENDER_PROJECT=sagerender +ENV SAGERENDER_PROJECT_DIR=/opt/code RUN mkdir -p $SAGERENDER_PROJECT_DIR/$SAGERENDER_PROJECT COPY --chown=$SAGERENDER_USER:$NB_GID ./pyproject.toml ./poetry.lock ./README.md $SAGERENDER_PROJECT_DIR/$SAGERENDER_PROJECT