Upload files to "/"

This commit is contained in:
2026-06-10 01:50:46 +08:00
parent 1c584a7909
commit b003a1153a
+4 -8
View File
@@ -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"