upd Dockerfile
This commit is contained in:
		@@ -12,15 +12,14 @@ RUN mkdir /app
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
 | 
			
		||||
COPY pddnsc ./pddnsc
 | 
			
		||||
RUN mkdir settings
 | 
			
		||||
RUN mkdir state
 | 
			
		||||
RUN mkdir settings state
 | 
			
		||||
COPY requirements.txt .
 | 
			
		||||
 | 
			
		||||
RUN pip install -r requirements.txt
 | 
			
		||||
RUN pip install --no-cache-dir -r requirements.txt
 | 
			
		||||
 | 
			
		||||
VOLUME /app/settings
 | 
			
		||||
VOLUME /app/state
 | 
			
		||||
 | 
			
		||||
CMD sh -c 'echo "\
 | 
			
		||||
CMD sh -exc 'echo "\
 | 
			
		||||
$SCHEDULE cd /app && python -m pddnsc.cli \
 | 
			
		||||
" > /etc/crontabs/root && exec crond -l 1 -f'
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user