Docker files changed

This commit is contained in:
joseph 2023-12-17 20:56:41 +00:00
parent 93ad91bc1e
commit 9a2b977c39
2 changed files with 8 additions and 4 deletions

View File

@ -17,4 +17,4 @@ WORKDIR /app
RUN bundle install RUN bundle install
CMD ["./auth.rb"] CMD ["ruby","./auth.rb"]

View File

@ -1,12 +1,16 @@
version: "3" version: "3"
services: services:
app: server:
container_name: auth
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
ports: ports:
- "4567:4567" - "47706:4567"
volumes: volumes:
- ./auth:/app # Adjust the path accordingly - ./auth:/app/data # Adjust the path accordingly
command: ["./auth.rb"] command: ["./auth.rb"]
restart: always
ports:
- "47706:4567"