Spaces:
Paused

al / Dockerfile
shegy's picture
Update Dockerfile
17fceec verified
Raw History Blame Contribute Delete
480 Bytes
FROM ubuntu:22.04
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install git curl wget -y
WORKDIR /alist
RUN wget -q https://github.com/AlistGo/alist/releases/latest/download/alist-linux-386.tar.gz
RUN tar -xzvf alist-linux-386.tar.gz
COPY . .
COPY config.json data/config.json
RUN chmod -R 777 /alist
EXPOSE 7860
RUN ls -a
CMD /alist/alist admin random