Skip to content

Commit d8e42b0

Browse files
committed
copy what exists
1 parent 5f25e4f commit d8e42b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ RUN apt-get -qq update && apt-get install -y \
1010
&& rm -r /var/lib/apt/lists/*
1111
WORKDIR /app
1212
COPY . .
13-
RUN mkdir -p /build/lib && cp -R /usr/lib/swift/linux/*.so* /build/lib
1413
RUN swift build -c release && mv `swift build -c release --show-bin-path` /build/bin
14+
RUN mkdir -p /build/lib && find /usr/lib/swift/linux -name '*.so*' -exec cp {} /build/lib/ \;
1515

1616
# Production image
1717
FROM ubuntu:22.04

0 commit comments

Comments
 (0)