Created
November 22, 2018 10:01
-
-
Save sr9yar/72c16d522b3d8891a8a93cec204baa14 to your computer and use it in GitHub Desktop.
Docker container with Blender and python 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:bionic | |
RUN \ | |
apt-get update && \ | |
apt-get -y upgrade && \ | |
apt-get install -y python3 python3-pip python3-dev python3-setuptools ca-certificates nano | |
RUN \ | |
cp /usr/bin/python3.6 /usr/bin/python && \ | |
cp /usr/bin/pip3 /usr/bin/pip | |
RUN \ | |
apt-get install -y software-properties-common && \ | |
add-apt-repository -y ppa:thomas-schiex/blender && \ | |
apt-get update && apt-get install -y blender | |
#ADD ./app /app | |
#WORKDIR /app | |
#RUN pip install --trusted-host pypi.python.org -r requirements.txt | |
#EXPOSE 5000 | |
#CMD ["python", "app.py"] | |
CMD ["tail", "-f", "/dev/null"] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment