From 00365919f657e0c3fb50cfff36c6964be74da23b Mon Sep 17 00:00:00 2001 From: Jakub Sucheta Date: Tue, 12 Dec 2023 21:56:57 +0100 Subject: [PATCH] ci fix bruh --- FILMAN-CRAWLER/Dockerfile | 2 +- FILMAN-DISCORD/Dockerfile | 2 +- FILMAN-SERVER/Dockerfile | 2 +- docker-compose.yml | 16 +++++++++------- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/FILMAN-CRAWLER/Dockerfile b/FILMAN-CRAWLER/Dockerfile index 531e674..4410457 100644 --- a/FILMAN-CRAWLER/Dockerfile +++ b/FILMAN-CRAWLER/Dockerfile @@ -5,6 +5,6 @@ WORKDIR /FILMAN-CRAWLER COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt -COPY . . +COPY /FILMAN-CRAWLER . CMD [ "python3", "main.py"] \ No newline at end of file diff --git a/FILMAN-DISCORD/Dockerfile b/FILMAN-DISCORD/Dockerfile index b5ca56f..34c7eb8 100644 --- a/FILMAN-DISCORD/Dockerfile +++ b/FILMAN-DISCORD/Dockerfile @@ -5,6 +5,6 @@ WORKDIR /FILMAN-DISCORD COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt -COPY . . +COPY /FILMAN-DISCORD . CMD [ "python3", "-OO", "main.py"] \ No newline at end of file diff --git a/FILMAN-SERVER/Dockerfile b/FILMAN-SERVER/Dockerfile index 6f5bc56..8936bbe 100644 --- a/FILMAN-SERVER/Dockerfile +++ b/FILMAN-SERVER/Dockerfile @@ -5,6 +5,6 @@ WORKDIR /FILMAN-SERVER COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt -COPY . . +COPY /FILMAN-SERVER . CMD [ "python3", "main.py"] diff --git a/docker-compose.yml b/docker-compose.yml index 1b82d6e..4bf585f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,8 +6,9 @@ services: ports: - "8000:8000" build: - context: /FILMAN-SERVER - dockerfile: Dockerfile + # context: /FILMAN-SERVER + context: . + dockerfile: FILMAN-SERVER/Dockerfile environment: - MYSQL_HOST=mysql.mikr.us - MYSQL_USER=t345 @@ -22,8 +23,9 @@ services: - filman-server container_name: filman-discord build: - context: /FILMAN-DISCORD - dockerfile: Dockerfile + # context: /FILMAN-DISCORD + context: . + dockerfile: FILMAN-DISCORD/Dockerfile environment: - DISCORD_TOKEN=MTE4MjM3MTY1ODM0NzA2NTM5NA.Gr7OHu.Y3PW4Dl98nLZAzAw1eJfvAzpushE3GXyM0qAX8 restart: unless-stopped @@ -33,9 +35,9 @@ services: - filman-server container_name: filman-crawler build: - context: /FILMAN-CRAWLER - # context: . - dockerfile: Dockerfile + # context: /FILMAN-CRAWLER + context: . + dockerfile: FILMAN-CRAWLER/Dockerfile environment: - CORE_ENDPOINT=http://filman-server:8000 restart: unless-stopped \ No newline at end of file