OpenList / Dockerfile
HuggingFace0920's picture
Update Dockerfile
784c720 verified
raw
history blame
453 Bytes
FROM alpine:3.20
RUN apk add --no-cache ca-certificates tzdata curl gcompat
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /opt/openlist
RUN curl -L -o openlist.tar.gz \
https://github.com/OpenListTeam/OpenList/releases/download/beta/openlist-linux-amd64.tar.gz && \
tar -xzf openlist.tar.gz && rm openlist.tar.gz && chmod +x openlist
EXPOSE 8080
CMD ["./openlist", "server"]