Skip to content

Commit

Permalink
bugfix: Update Python Dockerfiles to include workspace directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cbluebird committed Sep 10, 2024
1 parent 7a9f3ee commit b523e9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Language/python/python3.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ COPY /Language/python/workspace /home/sealos/workspace
RUN apt-get update && \
apt-get install -y python3.10 python3-pip python3-venv && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/* && \
python3 -m venv /home/sealos/workspace

RUN mkdir /root/.sealos
3 changes: 2 additions & 1 deletion Language/python/python3.11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ COPY /Language/python/workspace /home/sealos/workspace
RUN apt-get update && \
apt-get install -y python3.11 python3-pip python3-venv && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/* && \
python3 -m venv /home/sealos/workspace

RUN mkdir /root/.sealos

0 comments on commit b523e9f

Please sign in to comment.