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

Merge branch 'main' of git.rwth-aachen.de:polaris/entwicklung/analytics-engine

parents 26466998 26e614b5
No related tags found
No related merge requests found
Pipeline #902790 passed
Pipeline: FIRST_START

#902806

    ......@@ -35,4 +35,4 @@ scheduler-docker-build:
    deploy:
    stage: deploy
    trigger:
    project: polaris/deployment
    \ No newline at end of file
    project: polaris/entwicklung/deployment
    \ No newline at end of file
    ......@@ -16,7 +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"]
    #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