edit Dockerfile to fix https://git.wolf-house.net/ross/DashMachine/issues/30
This commit is contained in:
parent
7c4c8cc696
commit
2eea324fa7
@ -5,15 +5,15 @@ RUN apt-get update -q \
|
|||||||
inetutils-ping \
|
inetutils-ping \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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
|
RUN pip install --no-cache-dir --progress-bar off -r requirements.txt
|
||||||
|
|
||||||
COPY [ ".", "/Dashmachine/" ]
|
COPY [ ".", "/DashMachine/" ]
|
||||||
|
|
||||||
ENV PRODUCTION=true
|
ENV PRODUCTION=true
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
VOLUME /Dashmachine/dashmachine/user_data
|
VOLUME /DashMachine/dashmachine/user_data
|
||||||
CMD [ "gunicorn", "--bind", "0.0.0.0:5000", "wsgi:app" ]
|
CMD [ "gunicorn", "--bind", "0.0.0.0:5000", "wsgi:app" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user