Files
simple-object-server/Dockerfile.sos
Your Name 9fb018f162
All checks were successful
Build-Test-Publish / build (push) Successful in 33s
'Generic Commit'
2025-06-14 11:34:02 +12:00

21 lines
375 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 testing/ /testing/
# Expose port
EXPOSE 80
# Run server (assuming config is mounted at /data/sos_config.json)
CMD ["/sos/sos"]