Adding Proper Comment In dockerfile (#1943)

This commit is contained in:
Habibur Rahman (HR) 2023-05-17 04:03:09 +05:30 committed by GitHub
parent 94a376adc5
commit 3a2d8c22e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,11 @@
# Use the distroless/cc:latest image as the base image
FROM gcr.io/distroless/cc:latest
# Declare a build-time argument for the target architecture
ARG TARGETARCH
# Add the binary file 'surreal' from the specified path on the host machine to the root directory in the container
ADD $TARGETARCH/surreal /
# Set the entry point for the container to be the 'surreal' binary
ENTRYPOINT ["/surreal"]