mirror of
https://github.com/NexVeridian/ark-invest-api-rust.git
synced 2025-09-02 01:49:11 +00:00
fix: swap docker file to bin
This commit is contained in:
parent
486ed4c958
commit
4a935992b0
3 changed files with 27 additions and 28 deletions
|
@ -10,7 +10,7 @@ services:
|
|||
# environment:
|
||||
# - NGINX = false
|
||||
volumes:
|
||||
- ./data:/ark-invest-api-rust/data
|
||||
- ./data:/data
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ services:
|
|||
# environment:
|
||||
# - NGINX = false
|
||||
volumes:
|
||||
- ./data:/ark-invest-api-rust/data
|
||||
- ./data:/data
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
||||
|
|
|
@ -73,8 +73,7 @@
|
|||
tag = "latest";
|
||||
copyToRoot = [ my-crate ];
|
||||
config = {
|
||||
Cmd = [ "./ark-invest-api-rust" ];
|
||||
WorkingDir = "${my-crate}/ark-invest-api-rust";
|
||||
Cmd = [ "${my-crate}/bin/ark-invest-api-rust" ];
|
||||
Env = [ "PORT=3000" ];
|
||||
Expose = [ 3000 ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue