hello, im try to deploy .net docker container but i got critial deployed.
And i tryed to see on log. But dont show me nothing
$ fly logs -a walletbank
Waiting for logs...
2022-12-09T16:58:04.396 runner[1d921618] gru [info] Starting instance
2022-12-09T16:58:08.934 runner[1d921618] gru [info] Configuring virtual machine
2022-12-09T16:58:08.937 runner[1d921618] gru [info] Pulling container image
2022-12-09T16:58:11.944 runner[1d921618] gru [info] Unpacking image
2022-12-09T16:58:12.466 runner[1d921618] gru [info] Preparing kernel init
2022-12-09T16:58:12.783 runner[1d921618] gru [info] Configuring firecracker
2022-12-09T16:58:12.932 runner[1d921618] gru [info] Starting virtual machine
2022-12-09T16:58:13.328 app[1d921618] gru [info] Starting init (commit: f447594)...
2022-12-09T16:58:13.373 app[1d921618] gru [info] Preparing to run: `dotnet bank.dll /app/publish --urls http://0.0.0.0:8080` as root
2022-12-09T16:58:13.424 app[1d921618] gru [info] 2022/12/09 16:58:13 listening on [fdaa:0:f89f:a7b:1f60:1d92:1618:2]:22 (DNS: [fdaa::3]:53)
2022-12-09T16:58:14.171 app[1d921618] gru [info] warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
2022-12-09T16:58:14.171 app[1d921618] gru [info] Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed.
2022-12-09T16:58:14.212 app[1d921618] gru [info] warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
2022-12-09T16:58:14.212 app[1d921618] gru [info] No XML encryptor configured. Key {92fe4a3c-1b77-49bb-b3f6-7b00a068bd85} may be persisted to storage in unencrypted form.
2022-12-09T16:58:14.284 app[1d921618] gru [info] Hosting environment: Production
2022-12-09T16:58:14.284 app[1d921618] gru [info] Content root path: /app
2022-12-09T16:58:14.285 app[1d921618] gru [info] Now listening on: http://localhost:5000
2022-12-09T16:58:14.285 app[1d921618] gru [info] Application started. Press Ctrl+C to shut down.
fly.toml file generated for walletbank on 2022-12-09T13:55:15-03:00
app = “walletbank”
kill_signal = “SIGINT”
kill_timeout = 5
processes =[env]
[experimental]
allowed_public_ports =
auto_rollback = true[[services]]
http_checks =
internal_port = 8080
processes = [“app”]
protocol = “tcp”
script_checks =
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = “connections”[[services.ports]]
force_https = true
handlers = [“http”]
port = 80[[services.ports]]
handlers = [“tls”, “http”]
port = 443[[services.tcp_checks]]
grace_period = “1s”
interval = “15s”
restart_limit = 0
timeout = “2s”
DockerFile
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS base
WORKDIR /app
EXPOSE 8080
COPY . .
RUN dotnet restoreCOPY . ./
RUN dotnet publish -c Release -o publishFROM mcr.microsoft.com/dotnet/sdk:6.0
WORKDIR /app
COPY --from=base /app/publish .
ENTRYPOINT [“dotnet”, “bank.dll”]CMD [“/app/publish”, “–urls”, “http://0.0.0.0:8080”]