mirror of
https://github.com/michivonah/bbzw-horizon.git
synced 2025-12-23 01:16:28 +01:00
implement cors + add Dockerfile for frontend + compose
This commit is contained in:
parent
4af8161a11
commit
b59a74645f
4 changed files with 74 additions and 4 deletions
|
|
@ -23,8 +23,8 @@ COPY webservice.py .
|
|||
COPY crypto.py .
|
||||
COPY dbfunctions.py .
|
||||
COPY models.py .
|
||||
COPY certs/key.pem .
|
||||
COPY certs/cert.pem .
|
||||
COPY certs/server.key .
|
||||
COPY certs/server.crt .
|
||||
|
||||
# Start app
|
||||
CMD ["uvicorn", "webservice:app", "--host", "0.0.0.0", "--port", "8443", "--ssl-keyfile=key.pem", "--ssl-certfile=cert.pem"]
|
||||
CMD ["uvicorn", "webservice:app", "--host", "0.0.0.0", "--port", "8443", "--ssl-keyfile=server.key", "--ssl-certfile=server.crt"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue