fix: swap docker file to bin

This commit is contained in:
Elijah McMorris 2024-06-14 18:12:53 -07:00
parent 486ed4c958
commit 4a935992b0
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
3 changed files with 27 additions and 28 deletions

View file

@ -10,7 +10,7 @@ services:
# environment: # environment:
# - NGINX = false # - NGINX = false
volumes: volumes:
- ./data:/ark-invest-api-rust/data - ./data:/data
ports: ports:
- "3000:3000" - "3000:3000"

View file

@ -6,7 +6,7 @@ services:
# environment: # environment:
# - NGINX = false # - NGINX = false
volumes: volumes:
- ./data:/ark-invest-api-rust/data - ./data:/data
ports: ports:
- "3000:3000" - "3000:3000"

View file

@ -73,8 +73,7 @@
tag = "latest"; tag = "latest";
copyToRoot = [ my-crate ]; copyToRoot = [ my-crate ];
config = { config = {
Cmd = [ "./ark-invest-api-rust" ]; Cmd = [ "${my-crate}/bin/ark-invest-api-rust" ];
WorkingDir = "${my-crate}/ark-invest-api-rust";
Env = [ "PORT=3000" ]; Env = [ "PORT=3000" ];
Expose = [ 3000 ]; Expose = [ 3000 ];
}; };