mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-22 07:56:18 -05:00
Enabling Python optimization when running in Docker and systemd.
This commit is contained in:
parent
e471325bb6
commit
ccb28db95c
3 changed files with 6 additions and 2 deletions
|
|
@ -15,5 +15,5 @@ COPY modules /opt/wrolpi/modules
|
|||
COPY requirements.txt /opt/wrolpi/requirements.txt
|
||||
RUN pip3 install -r /opt/wrolpi/requirements.txt
|
||||
|
||||
ENTRYPOINT [ "python3", "/opt/wrolpi/main.py"]
|
||||
ENTRYPOINT [ "python3", "-OO", "/opt/wrolpi/main.py"]
|
||||
CMD ["api", "--host", "0.0.0.0" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue