edit Dockerfile to fix https://git.wolf-house.net/ross/DashMachine/issues/30
This commit is contained in:
parent
4bddc73671
commit
8c3d4ef1de
@ -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" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user