Skip to content

Commit

Permalink
Dockefile symlink fix (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
briancorbin authored Nov 2, 2022
1 parent 7b0c7ac commit 83c8c97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ RUN --mount=type=cache,target=/root/.cargo/git \
--mount=type=cache,target=/root/.cargo/registry \
--mount=type=cache,target=/app/target \
cargo build --release -p mc-full-service ${BUILD_OPTS} \
&& cp /app/target/release/full-service /usr/local/bin/full-service
&& cp /app/target/release/mc-full-service /usr/local/bin/mc-full-service


# This is the runtime container.
Expand All @@ -77,7 +77,6 @@ RUN apt-get update \
&& ln -s /etc/ssl/certs/ca-certificates.crt /usr/share/grpc/roots.pem

COPY --from=builder /usr/local/bin/full-service /usr/local/bin/full-service
RUN ln -s /usr/local/bin/full-service /usr/local/bin/full-service
COPY --from=builder /app/*.css /usr/local/bin/

USER app
Expand Down

0 comments on commit 83c8c97

Please sign in to comment.