File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ LABEL org.opencontainers.image.created="${BUILD_DATE}"
2020RUN apk --no-cache --no-scripts add ca-certificates jq bash
2121RUN addgroup -g 1000 infer && \
2222 adduser -u 1000 -G infer -h /home/infer -s /bin/bash -D infer
23- WORKDIR /home/infer
2423ARG TARGETARCH
25- COPY --from=binaries infer-linux-${TARGETARCH} ./infer
26- RUN chmod +x ./infer && chown infer:infer ./infer
24+ COPY --from=binaries infer-linux-${TARGETARCH} /usr/local/bin/infer
25+ RUN chmod +x /usr/local/bin/infer
26+ WORKDIR /home/infer
2727RUN mkdir -p .infer && chown -R infer:infer .infer
2828USER infer
2929
@@ -32,6 +32,6 @@ ENV INFER_GATEWAY_URL=http://inference-gateway:8080
3232ENV TERM=xterm-256color
3333ENV COLORTERM=truecolor
3434
35- RUN ./ infer init
35+ RUN infer init
3636
37- ENTRYPOINT ["./ infer" ]
37+ ENTRYPOINT ["infer" ]
You can’t perform that action at this time.
0 commit comments