Skip to content

Commit

Permalink
Updating with new volume build for compiled python
Browse files Browse the repository at this point in the history
  • Loading branch information
dluman committed Sep 3, 2023
1 parent 6bcd335 commit 7d27c28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dockerfiles/topia/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ RUN apt-get update && apt-get install -y \
tzdata \
libcairo2-dev

RUN apt-get remove python3 -y

ARG GITHUB_CDN=https://raw.githubusercontent.com/term-world/world-container/main

RUN curl -fsSL $GITHUB_CDN/scripts/direvents.sh | cat >> /etc/bash.bashrc
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/topia/slim/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ echo "export DB_PASS=$DB_PASS" >> $ENV_MARKET
echo "export OPEN_AI_KEY=$OPEN_AI_KEY" >> $ENV_HELPER
echo "export OPEN_AI_ORG=$OPEN_AI_ORG" >> $ENV_HELPER

ln -s /world/.python/bin/python /usr/bin/python
ln -s /world/.python/python3.11.5/bin/python3 /usr/bin/python

useradd -u $VS_USER_ID $VS_USER -s /bin/bash
groupadd -g $GID $DISTRICT
Expand Down

0 comments on commit 7d27c28

Please sign in to comment.