mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-22 01:16:14 +00:00
9 lines
320 B
Docker
9 lines
320 B
Docker
FROM python:3-slim
|
|
COPY . /psa_car_controller/
|
|
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 PSACC_OPTIONS="-c -r -d --web-conf"
|
|
CMD /psa_car_controller/docker_files/init.sh
|