Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16 lines (11 sloc)
436 Bytes
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 golemfactory/base:1.5 | |
RUN apt update | |
RUN apt install -y python3-pip | |
COPY tutorial_app /golem/tutorial_app | |
RUN python3 -m pip install --no-cache-dir --upgrade pip | |
RUN python3 -m pip install --no-cache-dir -r /golem/tutorial_app/requirements.txt | |
RUN python3 -m pip install --no-cache-dir /golem/tutorial_app | |
RUN apt remove -y python3-pip | |
RUN apt clean | |
WORKDIR /golem/work | |
ENTRYPOINT ["python3", "-m", "tutorial_app.entrypoint"] |