diff --git a/Dockerfile b/Dockerfile index 8af30c0..b5fa5a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,11 +6,13 @@ COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt # Copy in the source code -COPY src ./src +COPY . . EXPOSE 5000 # Setup an app user so the container doesn't run as the root user RUN useradd app USER app -CMD ["flask", "--app", "build", "run"] +CMD ["cd", "/usr/local/app"] +CMD "ls" +CMD ["flask", "--app", "build", "run", "--host=0.0.0.0"]]