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
CMD ["./auth.rb"]
CMD ["ruby","./auth.rb"]

View File

@ -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"