mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-09 06:22:57 +00:00
Update client libraries and runtimes for Postgres libraries we test.
- `pg8000` works with Neon now 🎉
- `PostgresClientKit` still doesn't support SNI
15 lines
285 B
Docker
15 lines
285 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
|
WORKDIR /source
|
|
|
|
COPY *.csproj .
|
|
RUN dotnet restore
|
|
|
|
COPY . .
|
|
RUN dotnet publish -c release -o /app --no-restore
|
|
|
|
FROM mcr.microsoft.com/dotnet/runtime:7.0
|
|
WORKDIR /app
|
|
COPY --from=build /app .
|
|
|
|
ENTRYPOINT ["dotnet", "csharp-npgsql.dll"]
|