Files
simple-object-server/Dockerfile
Your Name 11dccca171 Hmm
2025-05-03 13:19:41 +12:00

17 lines
289 B
Docker

# Create final image
FROM alpine:latest
ARG TARGETOS
ARG TARGETARCH
# Copy binary from builder
RUN mkdir -p /sos
COPY exe/simple_object_storage-${TARGETOS}-${TARGETARCH} /sos/sos
# Expose port
EXPOSE 80
# Run server (assuming config is mounted at /data/config.json)
CMD ["/sos/sos"]