HHH
This commit is contained in:
		
							
								
								
									
										24
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
 | 
			
		||||
RUN apk add --no-cache \
 | 
			
		||||
    icu-libs \
 | 
			
		||||
    zlib-dev \
 | 
			
		||||
    bash \
 | 
			
		||||
    curl \
 | 
			
		||||
    ffmpeg
 | 
			
		||||
 | 
			
		||||
COPY . /app
 | 
			
		||||
 | 
			
		||||
EXPOSE 8080
 | 
			
		||||
 | 
			
		||||
RUN chmod +x /app/drmdtool
 | 
			
		||||
RUN chmod +x /app/nre
 | 
			
		||||
 | 
			
		||||
ENV BASE_DIR=/app/Videos
 | 
			
		||||
ENV FORMAT=mkv
 | 
			
		||||
ENV TEMP_BASE_DIR=/app/tmp
 | 
			
		||||
ENV NRE_PATH=/app/nre
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT ["/app/drmdtool"]
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user