mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 04:04:21 -04:00
Update dockerfile
This commit is contained in:
parent
1b4d1ef45e
commit
7ee28f4557
@ -26,4 +26,4 @@ WORKDIR /kyoo
|
|||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
# The back can take a long time to start if meilisearch is initializing
|
# The back can take a long time to start if meilisearch is initializing
|
||||||
HEALTHCHECK --interval=5s --retries=15 CMD curl --fail http://localhost:5000/health || exit
|
HEALTHCHECK --interval=5s --retries=15 CMD curl --fail http://localhost:5000/health || exit
|
||||||
ENTRYPOINT ["/app/Kyoo.Host"]
|
ENTRYPOINT ["/app/kyoo"]
|
||||||
|
@ -19,4 +19,4 @@ EXPOSE 5000
|
|||||||
ENV DOTNET_USE_POLLING_FILE_WATCHER 1
|
ENV DOTNET_USE_POLLING_FILE_WATCHER 1
|
||||||
# HEALTHCHECK --interval=5s CMD curl --fail http://localhost:5000/health || exit
|
# HEALTHCHECK --interval=5s CMD curl --fail http://localhost:5000/health || exit
|
||||||
HEALTHCHECK CMD true
|
HEALTHCHECK CMD true
|
||||||
ENTRYPOINT ["dotnet", "watch", "--non-interactive", "run", "--no-restore", "--project", "/app/src/Kyoo.Host"]
|
ENTRYPOINT ["dotnet", "watch", "--non-interactive", "run", "--no-restore", "--project", "/app/src/Kyoo.Core"]
|
||||||
|
@ -82,6 +82,7 @@ builder.ConfigureKyoo();
|
|||||||
builder.ConfigureAuthentication();
|
builder.ConfigureAuthentication();
|
||||||
builder.ConfigurePostgres();
|
builder.ConfigurePostgres();
|
||||||
builder.ConfigureMeilisearch();
|
builder.ConfigureMeilisearch();
|
||||||
|
builder.ConfigureRabbitMq();
|
||||||
|
|
||||||
WebApplication app = builder.Build();
|
WebApplication app = builder.Build();
|
||||||
CoreModule.Services = app.Services;
|
CoreModule.Services = app.Services;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user