mirror of https://github.com/XingangPan/DragGAN
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			28 lines
		
	
	
		
			633 B
		
	
	
	
		
			Docker
		
	
			
		
		
	
	
			28 lines
		
	
	
		
			633 B
		
	
	
	
		
			Docker
		
	
FROM nvcr.io/nvidia/pytorch:23.05-py3
 | 
						|
 | 
						|
ENV PYTHONDONTWRITEBYTECODE 1
 | 
						|
ENV PYTHONUNBUFFERED 1
 | 
						|
 | 
						|
RUN apt-get update && apt-get install -y --no-install-recommends \
 | 
						|
        make \
 | 
						|
        pkgconf \
 | 
						|
        xz-utils \
 | 
						|
        xorg-dev \
 | 
						|
        libgl1-mesa-dev \
 | 
						|
        libglu1-mesa-dev \
 | 
						|
        libxrandr-dev \
 | 
						|
        libxinerama-dev \
 | 
						|
        libxcursor-dev \
 | 
						|
        libxi-dev \
 | 
						|
        libxxf86vm-dev
 | 
						|
 | 
						|
RUN pip install --upgrade pip
 | 
						|
 | 
						|
COPY requirements.txt requirements.txt
 | 
						|
RUN pip install -r requirements.txt
 | 
						|
 | 
						|
WORKDIR /workspace
 | 
						|
 | 
						|
RUN (printf '#!/bin/bash\nexec \"$@\"\n' >> /entry.sh) && chmod a+x /entry.sh
 | 
						|
ENTRYPOINT ["/entry.sh"]
 |