Upload files to "/"
This commit is contained in:
+4
-8
@@ -1,16 +1,12 @@
|
|||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
csv-editor:
|
csv-editor:
|
||||||
image: python:3.13-slim
|
image: python:3.13-slim
|
||||||
container_name: finance-csv-editor
|
container_name: finance-csv-editor
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
command: >
|
|
||||||
command: >
|
|
||||||
sh -c "ls -la && pip install --no-cache-dir -r /app/requirements.txt && python /app/app.py"
|
|
||||||
ports:
|
ports:
|
||||||
- "5678:5000"
|
- "5678:5000"
|
||||||
volumes:
|
volumes:
|
||||||
# This grabs the files cloned from Gitea and drops them right into the app
|
- .:/app
|
||||||
- .:/app
|
restart: always
|
||||||
restart: always
|
command: >
|
||||||
|
sh -c "pip install --no-cache-dir -r requirements.txt && python app.py"
|
||||||
Reference in New Issue
Block a user