Skip to content

Commit 5431315

Browse files
authored
Update Dockerfile
1 parent 8bb62a0 commit 5431315

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docker/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ FROM python:${PYTHON_IMAGE_TAG}}
55

66
WORKDIR /app
77

8-
RUN pip install script_runner==${SCRIPT_RUNNER_VERSION}
8+
RUN pip install script-runner-api==${SCRIPT_RUNNER_VERSION}
99

1010
COPY ./entrypoint.sh /entrypoint.sh
1111
RUN dos2unix /entrypoint.sh
1212
RUN chmod +x /entrypoint.sh
1313

1414
COPY ./ .
1515

16-
ENV PYTHONPATH="${RBASE}:${PYTHONPATH}"
17-
ENV FLASK_APP=/app/main.py
16+
ENV FLASK_APP=script_runner.main:app
1817
ENV SERVER_VERSION=$SERVER_VERSION
1918

2019
ENTRYPOINT [ "/entrypoint.sh" ]

0 commit comments

Comments
 (0)