Update app to use envs for server info

This commit is contained in:
Logan Cusano
2025-04-27 00:53:18 -04:00
parent 9ade2f9249
commit 886c45261f
3 changed files with 8 additions and 9 deletions

View File

@@ -13,10 +13,5 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copy the client code into the container
COPY ./app/ .
# Define environment variable for the server host
# This will be set by the Makefile when running the container
ENV SERVER_HOST=localhost
# Run client.py when the container launches
# We use a list form of CMD to properly handle signals
CMD ["python", "client.py"]