Skip to content
Snippets Groups Projects
Commit bbfbb793 authored by Robert Piotrowski's avatar Robert Piotrowski
Browse files

Using unbuffered output with python in docker

parent 97e98101
Branches
No related merge requests found
...@@ -3,5 +3,5 @@ FROM python:3.9 ...@@ -3,5 +3,5 @@ FROM python:3.9
WORKDIR /src WORKDIR /src
COPY . . COPY . .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
CMD ["python3", "./serial_to_mqtt.py"] CMD ["python3", "-u", "./serial_to_mqtt.py"]
# Or enter the name of your unique directory and parameter set. # Or enter the name of your unique directory and parameter set.
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment