fix dockerfile
This commit is contained in:
parent
680f852737
commit
b8a4981ed9
1 changed files with 2 additions and 2 deletions
|
|
@ -19,11 +19,11 @@ RUN OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include/openssl OPENSSL_ST
|
||||||
|
|
||||||
FROM scratch AS final
|
FROM scratch AS final
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /
|
||||||
|
|
||||||
# Copy the compiled binary from the builder stage
|
# Copy the compiled binary from the builder stage
|
||||||
COPY --from=builder /app/target/x86_64-unknown-linux-musl/prod/account /account
|
COPY --from=builder /app/target/x86_64-unknown-linux-musl/prod/account /account
|
||||||
COPY --from=builder /app/res /
|
COPY --from=builder /app/res /res
|
||||||
|
|
||||||
# Set executable permissions
|
# Set executable permissions
|
||||||
# RUN chmod +x /account
|
# RUN chmod +x /account
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue