mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			407 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			407 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
# pull official base image
 | 
						|
FROM python:3.6.9
 | 
						|
 | 
						|
# set environment varibles
 | 
						|
ENV PYTHONDONTWRITEBYTECODE 1
 | 
						|
ENV PYTHONUNBUFFERED 1
 | 
						|
 | 
						|
# set work directory
 | 
						|
WORKDIR /opaque
 | 
						|
 | 
						|
# Copy the current directory contents into the container at /daemon
 | 
						|
COPY . /opaque
 | 
						|
 | 
						|
# Install requirements
 | 
						|
RUN pip install --trusted-host pypi.python.org -r requirements.txt
 | 
						|
 | 
						|
# set permissions for entrypoint
 | 
						|
RUN chmod a+x flask-entrypoint.sh
 |