File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,14 @@ COPY . .
8
8
RUN --mount=type=cache,target=/usr/local/cargo/git/db \
9
9
--mount=type=cache,target=/usr/local/cargo/registry/ \
10
10
--mount=type=cache,target=/its_mypic_image_server/target/ \
11
- cargo build --release
12
-
11
+ cargo build --release; mv target/release/its_mypic_image_server /its_mypic_image_server/its_mypic_image_server
13
12
14
13
FROM gcr.io/distroless/cc
15
14
16
15
WORKDIR /its_mypic_image_server
17
16
18
17
COPY --from=mwader/static-ffmpeg:7.1 /ffmpeg /usr/local/bin/
19
18
20
- COPY --from=builder /its_mypic_image_server/target/release/ its_mypic_image_server .
19
+ COPY --from=builder /its_mypic_image_server/its_mypic_image_server .
21
20
22
21
CMD ["/its_mypic_image_server/its_mypic_image_server" ]
You can’t perform that action at this time.
0 commit comments