From 9a2b977c392bbc979729a2edac4f196050178c6b Mon Sep 17 00:00:00 2001 From: joseph Date: Sun, 17 Dec 2023 20:56:41 +0000 Subject: [PATCH] Docker files changed --- auth/docker/Dockerfile | 2 +- auth/docker/docker-compose.yml | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/auth/docker/Dockerfile b/auth/docker/Dockerfile index ff64bc1..7e05816 100644 --- a/auth/docker/Dockerfile +++ b/auth/docker/Dockerfile @@ -17,4 +17,4 @@ WORKDIR /app RUN bundle install -CMD ["./auth.rb"] +CMD ["ruby","./auth.rb"] diff --git a/auth/docker/docker-compose.yml b/auth/docker/docker-compose.yml index 2f75842..eed1643 100644 --- a/auth/docker/docker-compose.yml +++ b/auth/docker/docker-compose.yml @@ -1,12 +1,16 @@ version: "3" services: - app: + server: + container_name: auth build: context: . dockerfile: Dockerfile ports: - - "4567:4567" + - "47706:4567" volumes: - - ./auth:/app # Adjust the path accordingly + - ./auth:/app/data # Adjust the path accordingly command: ["./auth.rb"] + restart: always + ports: + - "47706:4567"