timmyreilly/Flask-Ubuntu-Docker

Dockerfile obscure references to app directory

ugreg opened this issue · 1 comments

ugreg commented

You have two references to an "app" directory in your Dockerfile, but I do not see this directory in your project.

COPY . /app
WORKDIR /app
ugreg commented

Just confirmed it's some hidden file that's part of build steps 4 and 5.

. . . mr robot starts the build
Sending build context to Docker daemon  8.79 MB
Step 1/9 : FROM tiangolo/uwsgi-nginx-flask:flask
    ---> 788ca94b2313
Step 2/9 : MAINTAINER Greg-For-Now "grdegr@mrrobot.com"
    ---> Running in 7b921bf424ab
    ---> f304cb0e40a8
Removing intermediate container 7b921bf424ab
Step 3/9 : COPY . /app
    ---> b9957d88197e
Removing intermediate container 3f0916b8245e
Step 4/9 : WORKDIR /app
    ---> 4d507a59304d
Removing intermediate container 358dbb30de19
Step 5/9 : RUN pip install -r requirements.txt
. . . more fun steps

#closed 🐦