From 74ea9751acb6d75e0f80fc37b84819a879aa63f9 Mon Sep 17 00:00:00 2001 From: Andreea Radoescu Date: Sun, 17 Nov 2024 19:32:43 +0100 Subject: change paths to flashcards repo to work in Docker, added Dockerfile that installs app and runs the UI - requires the flashcard data to be mounted from outside added docker-compose as a first draft --- docker-compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docker-compose.yml (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e1339bb --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +version: '3.1' +services: + food-planner: + container_name: flashcards + image: local/flashcards + restart: unless-stopped + user: "$SERVICE_UID:$SERVICE_GID" + build: . + volumes: + - .:/app + - ./schwiizerduutsch:/app/schwiizerduutsch + - $SERVICE_ROOT/data:/data -- cgit v1.2.3