changed entrypoints

This commit is contained in:
Andreas Balogh
2021-02-11 19:01:04 +01:00
parent 007d7abceb
commit e9cf619589
2 changed files with 4 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ unit_test:
alias: webui alias: webui
image: image:
name: $CI_REGISTRY_IMAGE/webui:$CI_COMMIT_REF_SLUG name: $CI_REGISTRY_IMAGE/webui:$CI_COMMIT_REF_SLUG
entrypoint: ["/tester.sh"] entrypoint: [""]
tags: tags:
- docker - docker
- ubuntu - ubuntu
@@ -53,4 +53,5 @@ unit_test:
paths: paths:
- var/ - var/
script: script:
- echo "Script stage" - mkdir /var
- wget webui:5000 -o var/index.html

View File

@@ -10,4 +10,4 @@ RUN chmod +x /tester.sh
RUN chmod +x /run.sh RUN chmod +x /run.sh
ENV FLASK_APP=flaskr/zeo_db ENV FLASK_APP=flaskr/zeo_db
EXPOSE 5000 EXPOSE 5000
CMD python3 -m flask run --host=0.0.0.0 ENTRYPOINT python3 -m flask run --host=0.0.0.0