Some more fixes on docker build related files.
This commit is contained in:
		
							parent
							
								
									60adf393ef
								
							
						
					
					
						commit
						97eb34814f
					
				| 
						 | 
					@ -20,10 +20,11 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone;
 | 
				
			||||||
    zlib-dev \
 | 
					    zlib-dev \
 | 
				
			||||||
    jpeg-dev ; \
 | 
					    jpeg-dev ; \
 | 
				
			||||||
    apk add --no-cache olm libmagic ffmpeg speex; \
 | 
					    apk add --no-cache olm libmagic ffmpeg speex; \
 | 
				
			||||||
    pip --no-cache-dir install upgrade pip; \
 | 
					    pip install pip -U --no-cache-dir; \
 | 
				
			||||||
    pip install --no-cache-dir -r requirements.txt ; \
 | 
					    pip install --no-cache-dir -r requirements.txt ; \
 | 
				
			||||||
    apk del --no-cache .build-deps;
 | 
					    apk del --no-cache .build-deps;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ENTRYPOINT ["python3", "-u", "fritzab2matrix.py "]
 | 
					# ENTRYPOINT ["python3", "-u", "fritzab2matrix.py"]
 | 
				
			||||||
 | 
					ENTRYPOINT /bin/sh -c "export UNBUFFERED=1 && python3 -u ./fritzab2matrix.py"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,7 +7,7 @@ services:
 | 
				
			||||||
      context: ../.
 | 
					      context: ../.
 | 
				
			||||||
      dockerfile: ./docker/Dockerfile
 | 
					      dockerfile: ./docker/Dockerfile
 | 
				
			||||||
    working_dir: /app
 | 
					    working_dir: /app
 | 
				
			||||||
    entrypoint: /bin/sh -c "export UNBUFFERED=1 && python3 -u ./fritzab2matrix.py"
 | 
					#    entrypoint: /bin/sh -c "export UNBUFFERED=1 && python3 -u ./fritzab2matrix.py"
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - ../.:/app
 | 
					      - ../.:/app
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue