We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f25e4f commit d8e42b0Copy full SHA for d8e42b0
Dockerfile
@@ -10,8 +10,8 @@ RUN apt-get -qq update && apt-get install -y \
10
&& rm -r /var/lib/apt/lists/*
11
WORKDIR /app
12
COPY . .
13
-RUN mkdir -p /build/lib && cp -R /usr/lib/swift/linux/*.so* /build/lib
14
RUN swift build -c release && mv `swift build -c release --show-bin-path` /build/bin
+RUN mkdir -p /build/lib && find /usr/lib/swift/linux -name '*.so*' -exec cp {} /build/lib/ \;
15
16
# Production image
17
FROM ubuntu:22.04
0 commit comments