From 7c4c8cc69699eb297305a3e57afcb45e1a569e04 Mon Sep 17 00:00:00 2001 From: Ross Mountjoy Date: Tue, 11 Feb 2020 11:24:58 -0500 Subject: [PATCH] edit Dockerfile to fix https://git.wolf-house.net/ross/DashMachine/issues/30 --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e706048..02908d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,15 +5,15 @@ RUN apt-get update -q \ inetutils-ping \ && rm -rf /var/lib/apt/lists/* -COPY [ "requirements.txt", "/dashmachine/" ] +COPY [ "requirements.txt", "/Dashmachine/" ] -WORKDIR /dashmachine +WORKDIR /Dashmachine RUN pip install --no-cache-dir --progress-bar off -r requirements.txt -COPY [ ".", "/dashmachine/" ] +COPY [ ".", "/Dashmachine/" ] ENV PRODUCTION=true EXPOSE 5000 -VOLUME /dashmachine/dashmachine/user_data +VOLUME /Dashmachine/dashmachine/user_data CMD [ "gunicorn", "--bind", "0.0.0.0:5000", "wsgi:app" ]