Skip to content
Snippets Groups Projects
Commit a4363178 authored by Max Lou's avatar Max Lou
Browse files

Update scheduler/Dockerfile

parent 9ce89a97
No related branches found
No related tags found
No related merge requests found
Pipeline #902765 failed
......@@ -16,10 +16,18 @@ RUN apt-get update && apt-get install -y \
COPY . /app
WORKDIR /app
# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
RUN pip install .
#EXPOSE 5000
#CMD ["scheduler", "run"]
#Environment
ENV VIRTUAL_ENV /env
ENV PATH /env/bin:$PATH
Gunicorn Server
CMD ["gunicorn", "--bind", ":5000", "--workers", "3", "scheduler.wsgi"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment