mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-14 01:50:40 +00:00
Some changes for convinience
This commit is contained in:
3
web/.dockerignore
Normal file
3
web/.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
Dockerfile
|
||||
.dockerignore
|
||||
*.bak
|
@ -27,16 +27,10 @@ USER nopaque
|
||||
WORKDIR /home/nopaque
|
||||
|
||||
|
||||
COPY ["app", "app"]
|
||||
COPY ["migrations", "migrations"]
|
||||
COPY ["tests", "tests"]
|
||||
COPY ["config.py", "nopaque.py", "requirements.txt", "./"]
|
||||
COPY --chown=nopaque:nopaque [".", "."]
|
||||
RUN python -m venv venv \
|
||||
&& venv/bin/pip install --requirement requirements.txt \
|
||||
&& mkdir logs
|
||||
|
||||
|
||||
COPY ["docker-entrypoint.sh", "/usr/local/bin/"]
|
||||
|
||||
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
ENTRYPOINT ["./docker-entrypoint.sh"]
|
||||
|
Reference in New Issue
Block a user