mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 23:46:18 -05:00
Restoring main.py as method to start WROLPi API because it is required to upgrade docker database.
This commit is contained in:
parent
2924867f55
commit
f0e4302de8
4 changed files with 56 additions and 4 deletions
|
|
@ -17,4 +17,5 @@ COPY main.py /opt/wrolpi/
|
|||
COPY wrolpi /opt/wrolpi/wrolpi
|
||||
COPY modules /opt/wrolpi/modules
|
||||
|
||||
CMD ["sanic", "main:api_app", "--host", "0.0.0.0", "--port", "8081"]
|
||||
ENTRYPOINT [ "python3", "-OO", "/opt/wrolpi/main.py"]
|
||||
CMD ["-vv", "api", "--host", "0.0.0.0"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue