Files
simple-object-server/Dockerfile.sos
j842 4f3a25da0b
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 52s
Build-Test-Publish / build (linux/arm64) (push) Successful in 1m9s
Build-Test-Publish / create-manifest (push) Successful in 40s
Update Dockerfile.sos
2025-08-17 13:37:36 +12:00

22 lines
427 B
Docker

# Create final image
FROM alpine:latest
ARG TARGETOS
ARG TARGETARCH
# Copy binary from builder
RUN apk add --no-cache wget curl bash jq
RUN mkdir -p /sos && mkdir -p /data/storage
COPY --chmod=0755 output/simple-object-server /sos/sos
COPY --chmod=0755 output/hash_token /sos/hash_token
COPY testing/ /testing/
# Expose port
EXPOSE 80
# Run server (assuming config is mounted at /data/sos_config.json)
CMD ["/sos/sos"]