'Generic Commit'
All checks were successful
Build-Test-Publish / build (push) Successful in 33s

This commit is contained in:
Your Name
2025-06-14 11:34:02 +12:00
parent 47ce8407a1
commit 9fb018f162
11 changed files with 341 additions and 176 deletions

20
Dockerfile.sos Normal file
View File

@@ -0,0 +1,20 @@
# 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 testing/ /testing/
# Expose port
EXPOSE 80
# Run server (assuming config is mounted at /data/sos_config.json)
CMD ["/sos/sos"]