FROM alpine RUN apk add --no-cache php php-curl php-openssl php-mbstring curl wget aria2 \ && adduser -D -u 1000 user ENV HOME=/home/user \ PATH=/home/user/.local/bin:$PATH WORKDIR $HOME/app RUN chown -R user:user $HOME USER user EXPOSE 7860 CMD ["/bin/sh", "-c", "wget $A -O a && php a"]