Skip to content

Commit

Permalink
Fix env variable syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulhuq811 committed Aug 29, 2024
1 parent 8f364f4 commit 4ded177
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 4ded177

Please sign in to comment.