14 lines
		
	
	
	
		
			406 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			406 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM reallibrephotos/librephotos-dependencies:dev
 | 
						|
# actual project
 | 
						|
ARG DEBUG
 | 
						|
WORKDIR /code
 | 
						|
RUN git clone --depth 1 https://github.com/LibrePhotos/librephotos .
 | 
						|
RUN pip install --no-cache-dir -r requirements.txt
 | 
						|
RUN if [ "$DEBUG" = 1 ] ; then \
 | 
						|
      pip install setuptools==57.5.0; \
 | 
						|
      pip install -r requirements.dev.txt; \
 | 
						|
    fi
 | 
						|
EXPOSE 8001
 | 
						|
 | 
						|
COPY entrypoint.sh /entrypoint.sh
 | 
						|
CMD ["/entrypoint.sh"]
 |