diff --git a/Dockerfile b/Dockerfile index 05950f1..0dd22e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,12 @@ ARG TARGETARCH # Copy binary from builder +RUN apk update && apk add --no-cache curl bash wget gzip && rm -rf /var/cache/apk/* + + RUN mkdir -p /sos -COPY exe/simple_object_storage-${TARGETOS}-${TARGETARCH} /sos/sos +COPY --chmod=0755 exe/simple_object_storage-${TARGETOS}-${TARGETARCH} /sos/sos # Expose port EXPOSE 80