We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaf977a commit 0e2387aCopy full SHA for 0e2387a
1 file changed
mpcontribs-api/Dockerfile
@@ -25,9 +25,11 @@ RUN wget -q https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-
25
-O mpcontribs/api/contributions/formulae.json.gz
26
27
FROM base
28
+ARG BUILDARCH
29
COPY --from=builder /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
30
COPY --from=builder /usr/local/bin /usr/local/bin
-COPY --from=builder /usr/lib/x86_64-linux-gnu/libsnappy* /usr/lib/x86_64-linux-gnu/
31
+COPY --from=builder /usr/lib/$BUILDARCH-linux-gnu/libsnappy* /usr/lib/$BUILDARCH-linux-gnu/
32
+
33
COPY --from=builder /app/mpcontribs/api /app/mpcontribs/api
34
WORKDIR /app
35
RUN mkdir -p /var/log/supervisor
0 commit comments