mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	Fix Dockerfile
This commit is contained in:
		@@ -9,13 +9,13 @@ RUN apt update && \
 | 
				
			|||||||
    apt install -y gettext nginx uwsgi uwsgi-plugin-python3 && \
 | 
					    apt install -y gettext nginx uwsgi uwsgi-plugin-python3 && \
 | 
				
			||||||
    rm -rf /var/lib/apt/lists/*
 | 
					    rm -rf /var/lib/apt/lists/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY requirements.txt /code/
 | 
					COPY . /code/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Comment what is not needed
 | 
				
			||||||
RUN pip install -r requirements/base.txt
 | 
					RUN pip install -r requirements/base.txt
 | 
				
			||||||
RUN pip install -r requirements/api.txt
 | 
					RUN pip install -r requirements/api.txt
 | 
				
			||||||
RUN pip install -r requirements/cas.txt
 | 
					RUN pip install -r requirements/cas.txt
 | 
				
			||||||
RUN pip install -r requirements/production.txt
 | 
					RUN pip install -r requirements/production.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY . /code/
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
ENTRYPOINT ["/code/entrypoint.sh"]
 | 
					ENTRYPOINT ["/code/entrypoint.sh"]
 | 
				
			||||||
EXPOSE 8000
 | 
					EXPOSE 8000
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user