Created
July 7, 2019 17:44
-
-
Save heffo42/580ec73638fb585b86b477cbb4059ed7 to your computer and use it in GitHub Desktop.
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 python:3.6 | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
ENTRYPOINT [ "python", "-u", "main.py" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In following your usejournal article, whenever this runs for me, I get an error saying
Step 2/5 : COPY requirements.txt ./ COPY failed: stat /var/lib/docker/tmp/docker-builder467102557/requirements.txt: no such file or directory
.How am I supposed to get around this?