Skip to content

Commit

Permalink
Try using ADD and CMD
Browse files Browse the repository at this point in the history
  • Loading branch information
psbang committed Nov 30, 2023
1 parent 684dc6a commit a49c250
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,8 @@ ADD patches/sitecustomize.py /root/.local/lib/python3.10/site-packages/sitecusto
ADD patches/imagemagick-policy.xml /etc/ImageMagick-6/policy.xml

# Add generativeai Python patch
CMD python patches/generativeaipatch.py
ADD patches/generativeaipatch.py /root/.local/lib/python3.10/site-packages/generativeaipatch.py
CMD ["python", "/root/.local/lib/python3.10/site-packages/generativeaipatch.py"]

# Add Kaggle module resolver
ADD patches/kaggle_module_resolver.py /opt/conda/lib/python3.10/site-packages/tensorflow_hub/kaggle_module_resolver.py
Expand Down

0 comments on commit a49c250

Please sign in to comment.