Update dockerfile

This commit is contained in:
Zoe Roux 2024-04-02 23:05:26 +02:00
parent 1b4d1ef45e
commit 7ee28f4557
No known key found for this signature in database
3 changed files with 3 additions and 2 deletions

View File

@ -26,4 +26,4 @@ WORKDIR /kyoo
EXPOSE 5000
# 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
ENTRYPOINT ["/app/Kyoo.Host"]
ENTRYPOINT ["/app/kyoo"]

View File

@ -19,4 +19,4 @@ EXPOSE 5000
ENV DOTNET_USE_POLLING_FILE_WATCHER 1
# HEALTHCHECK --interval=5s CMD curl --fail http://localhost:5000/health || exit
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"]

View File

@ -82,6 +82,7 @@ builder.ConfigureKyoo();
builder.ConfigureAuthentication();
builder.ConfigurePostgres();
builder.ConfigureMeilisearch();
builder.ConfigureRabbitMq();
WebApplication app = builder.Build();
CoreModule.Services = app.Services;