From 3e8118838b43865b9707e2c52738835fda04d48a Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Tue, 14 Feb 2023 07:17:25 +0300 Subject: [PATCH] Docker fix --- .dockerignore | 6 +----- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.dockerignore b/.dockerignore index cf1e89e..f11c5d6 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,8 +1,4 @@ # database file Database/MyDarlingDb.db Database/MyDarlingDb.db-shm -Database/MyDarlingDb.db-wal - -# wwwroot -wwwroot/lib -wwwroot/content \ No newline at end of file +Database/MyDarlingDb.db-wal \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 707050c..250309e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,10 +2,10 @@ version: '3' services: my-darling: - image: gitea.cebotari.ru/chebser/mydarling-dotnet:latest + build: . container_name: mydarling-net ports: - "5050:5000" volumes: - ./Database:/app/Database - - ./content:/app/wwwroot/content \ No newline at end of file + - ./wwwroot/content:/app/wwwroot/content \ No newline at end of file