mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Some changes for convinience
This commit is contained in:
		@@ -4,7 +4,7 @@ FROM python:3.6-slim-stretch
 | 
			
		||||
LABEL maintainer="inf_sfb1288@lists.uni-bielefeld.de"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
ARG docker_gid=998
 | 
			
		||||
ARG docker_gid=999
 | 
			
		||||
ARG gid=1000
 | 
			
		||||
ARG uid=1000
 | 
			
		||||
ENV LANG=C.UTF-8
 | 
			
		||||
@@ -25,16 +25,10 @@ USER nopaqued
 | 
			
		||||
WORKDIR /home/nopaqued
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
COPY ["logger", "logger"]
 | 
			
		||||
COPY ["notify", "notify"]
 | 
			
		||||
COPY ["tasks", "tasks"]
 | 
			
		||||
COPY ["decorators.py", "nopaqued.py", "requirements.txt", "./"]
 | 
			
		||||
COPY --chown=nopaqued:nopaqued [".", "."]
 | 
			
		||||
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