mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-21 17:06:18 +00:00
add default options
This commit is contained in:
+1
-1
@@ -4,5 +4,5 @@ WORKDIR /config
|
||||
RUN pip3 install --no-cache-dir -r /psa_car_controller/requirements.txt
|
||||
EXPOSE 5000
|
||||
RUN chmod +x /psa_car_controller/docker_files/init.sh
|
||||
ENV PSACC_BASE_PATH=/ PSACC_PORT=5000
|
||||
ENV PSACC_BASE_PATH=/ PSACC_PORT=5000 PSACC_OPTIONS="-c -r -d --web-conf"
|
||||
CMD /psa_car_controller/docker_files/init.sh
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
echo "Containerised psa_car_controller loading..."
|
||||
python3 /psa_car_controller/server.py -p $PSACC_PORT -l 0.0.0.0 --web-conf -b $PSACC_BASE_PATH
|
||||
python3 /psa_car_controller/server.py -p $PSACC_PORT -l 0.0.0.0 -b $PSACC_BASE_PATH $PSACC_OPTIONS
|
||||
|
||||
Reference in New Issue
Block a user