diff --git a/Dockerfile-SmitheBackend b/Dockerfile-SmitheBackend index 95020bd..af7ca4a 100644 --- a/Dockerfile-SmitheBackend +++ b/Dockerfile-SmitheBackend @@ -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"]