Skip to content

Commit

Permalink
fix ENV in dockerfile.data
Browse files Browse the repository at this point in the history
  • Loading branch information
liuwen committed Sep 21, 2024
1 parent abf62fd commit 9c762a7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions deepnote/data/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,16 @@ ENV PATH="/root/work/bin:${PATH}"
# Set working directory
WORKDIR /root/work

RUN python -m venv --system-site-packages ~/venv
# RUN python -m venv --system-site-packages ~/venv

ENV SHELL=/bin/bash \
LC_ALL=en_US.UTF-8 \
LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8
ENV VIRTUAL_ENV=/root/work/venv
RUN python -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

ENV SHELL=/bin/bash
ENV LC_ALL=en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8

RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
Expand Down

0 comments on commit 9c762a7

Please sign in to comment.