mirror of
https://github.com/arthur-pbty/QCM_physique.git
synced 2026-06-03 23:36:21 +02:00
first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
web:
|
||||
image: python:3.11-slim
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./:/app
|
||||
ports:
|
||||
- "5000:5000"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
- FLASK_ENV=production
|
||||
command: sh -c "pip install --no-cache-dir -r requirements.txt && python webapp.py"
|
||||
|
||||
scraper:
|
||||
image: python:3.11-slim
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./:/app
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
command: sh -c "pip install --no-cache-dir -r requirements.txt && python main.py"
|
||||
Reference in New Issue
Block a user