mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
declutter by using default filenames
This commit is contained in:
parent
268da220d2
commit
cdf6f9fcfd
@ -5,9 +5,8 @@
|
||||
!app
|
||||
!migrations
|
||||
!tests
|
||||
!.flaskenv
|
||||
!boot.sh
|
||||
!config.py
|
||||
!docker-nopaque-entrypoint.sh
|
||||
!nopaque.py
|
||||
!requirements.txt
|
||||
!wsgi.py
|
||||
|
@ -46,7 +46,7 @@ COPY docker-nopaque-entrypoint.sh /usr/local/bin/
|
||||
COPY --chown=nopaque:nopaque app app
|
||||
COPY --chown=nopaque:nopaque migrations migrations
|
||||
COPY --chown=nopaque:nopaque tests tests
|
||||
COPY --chown=nopaque:nopaque .flaskenv boot.sh config.py nopaque.py requirements.txt ./
|
||||
COPY --chown=nopaque:nopaque boot.sh config.py wsgi.py requirements.txt ./
|
||||
|
||||
RUN mkdir logs
|
||||
|
||||
|
2
boot.sh
2
boot.sh
@ -24,7 +24,7 @@ if [[ "${#}" == "0" ]]; then
|
||||
sleep 5
|
||||
done
|
||||
fi
|
||||
python3 nopaque.py
|
||||
python3 wsgi.py
|
||||
elif [[ "${1}" == "flask" ]]; then
|
||||
flask ${@:2}
|
||||
elif [[ "${1}" == "--help" || "${1}" == "-h" ]]; then
|
||||
|
@ -11,6 +11,6 @@ services:
|
||||
- "./config.py:/home/nopaque/config.py"
|
||||
- "./docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh"
|
||||
- "./migrations:/home/nopaque/migrations"
|
||||
- "./nopaque.py:/home/nopaque/nopaque.py"
|
||||
- "./requirements.txt:/home/nopaque/requirements.txt"
|
||||
- "./tests:/home/nopaque/tests"
|
||||
- "./wsgi.py:/home/nopaque/wsgi.py"
|
||||
|
Loading…
Reference in New Issue
Block a user