diff --git a/server/Dockerfile b/server/Dockerfile index 28c5f8c5..70ba0c62 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -11,4 +11,4 @@ COPY . . RUN cargo build --release EXPOSE 8000 # Run the application -CMD ["cargo", "run"] +CMD ["cargo", "run", "--bin", "mercury-server"] diff --git a/token-server/Dockerfile b/token-server/Dockerfile index 29de27ac..e62903cd 100644 --- a/token-server/Dockerfile +++ b/token-server/Dockerfile @@ -11,4 +11,4 @@ COPY . . RUN cargo build --release EXPOSE 8001 # Run the application -CMD ["cargo", "run"] +CMD ["cargo", "run", "--bin", "token-server"]