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