mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-11 07:22:55 +00:00
Also, use Workaround D for `swift/PostgresClientKitExample`, which supports neither SNI nor connections options
12 lines
258 B
Docker
12 lines
258 B
Docker
FROM swift:5.8 AS build
|
|
RUN apt-get -q update && apt-get -q install -y libssl-dev
|
|
WORKDIR /source
|
|
|
|
COPY . .
|
|
RUN swift build --configuration release
|
|
|
|
FROM swift:5.8
|
|
WORKDIR /app
|
|
COPY --from=build /source/.build/release .
|
|
CMD ["/app/PostgresClientKitExample"]
|