Skip to content

Commit

Permalink
fixing backend deployment (x2)
Browse files Browse the repository at this point in the history
Signed-off-by: danbugs <[email protected]>
  • Loading branch information
danbugs committed Feb 18, 2024
1 parent 343a2f1 commit d361b30
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile-SmitheBackend
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ RUN apt-get update && apt-get install -y libpq5
# Copy only the smithe_backend binary
COPY target/aarch64-unknown-linux-gnu/release/smithe_backend .

# Specify the command to run the binary with the desired environment variable
CMD ["ROCKET_ADDRESS=0.0.0.0", "./smithe_backend"]
# Set the environment variable
ENV ROCKET_ADDRESS=0.0.0.0

# Specify the command to run the binary
CMD ["./smithe_backend"]

0 comments on commit d361b30

Please sign in to comment.