Docker files changed
This commit is contained in:
parent
93ad91bc1e
commit
9a2b977c39
|
@ -17,4 +17,4 @@ WORKDIR /app
|
||||||
|
|
||||||
RUN bundle install
|
RUN bundle install
|
||||||
|
|
||||||
CMD ["./auth.rb"]
|
CMD ["ruby","./auth.rb"]
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue