Add static and dynamic url
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
7918b84d5d
commit
f4236855d6
@ -29,7 +29,7 @@ steps:
|
|||||||
path:
|
path:
|
||||||
include: [ backend/** ]
|
include: [ backend/** ]
|
||||||
settings:
|
settings:
|
||||||
registry: harbor-core.dev-tools.svc.cluster.local
|
registry: harbor.dvirlabs.com
|
||||||
repo: my-apps/${CI_REPO_NAME}-backend
|
repo: my-apps/${CI_REPO_NAME}-backend
|
||||||
dockerfile: backend/Dockerfile
|
dockerfile: backend/Dockerfile
|
||||||
context: backend
|
context: backend
|
||||||
|
|||||||
@ -27,3 +27,4 @@ ENV PYTHONUNBUFFERED=1
|
|||||||
|
|
||||||
# Run the application
|
# Run the application
|
||||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||||
|
|
||||||
|
|||||||
@ -74,3 +74,4 @@ EXPOSE 80
|
|||||||
|
|
||||||
# Start nginx with entrypoint
|
# Start nginx with entrypoint
|
||||||
CMD ["/docker-entrypoint.sh"]
|
CMD ["/docker-entrypoint.sh"]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user