mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-27 08:09:58 +00:00
* Add tests for different postgres clients * test/fixtures: sanitize test name for test_output_dir * test/fixtures: do not look for etcd before runtime * Add workflow for testing Postgres client libraries
15 lines
285 B
Docker
15 lines
285 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:6.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:6.0
|
|
WORKDIR /app
|
|
COPY --from=build /app .
|
|
|
|
ENTRYPOINT ["dotnet", "csharp-npgsql.dll"]
|