mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
caddy take 2
This commit is contained in:
parent
887213f35b
commit
a7d09adeb3
2 changed files with 7 additions and 2 deletions
|
@ -35,4 +35,7 @@ COPY --from=build-stage /app/dist /app/dist
|
|||
RUN rm -rf /app/test /app/.temp
|
||||
|
||||
VOLUME [ "/app/data/" ]
|
||||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"]
|
||||
RUN chmod +x run.sh
|
||||
CMD script.sh
|
||||
|
||||
# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"]
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
## Migrations
|
||||
# TODO
|
||||
|
||||
|
@ -5,4 +7,4 @@
|
|||
caddy start --config ./Caddyfile
|
||||
|
||||
## Start API
|
||||
uvicorn app:app --host 0.0.0.0 --port 80
|
||||
uvicorn app:app --host 0.0.0.0 --port 9000
|
Loading…
Add table
Add a link
Reference in a new issue