mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-09 00:54:46 +08:00
18 lines
304 B
Docker
18 lines
304 B
Docker
|
|
FROM alpine:latest
|
||
|
|
|
||
|
|
# Install required packages
|
||
|
|
RUN apk add --no-cache \
|
||
|
|
ca-certificates \
|
||
|
|
fuse \
|
||
|
|
curl \
|
||
|
|
jq
|
||
|
|
|
||
|
|
# Copy our locally built binary
|
||
|
|
COPY weed-local /usr/bin/weed
|
||
|
|
RUN chmod +x /usr/bin/weed
|
||
|
|
|
||
|
|
# Create working directory
|
||
|
|
WORKDIR /data
|
||
|
|
|
||
|
|
# Default command
|
||
|
|
ENTRYPOINT ["/usr/bin/weed"]
|