atas / Dockerfile
eatYour's picture
Update Dockerfile
77710c3 verified
raw
history blame
349 Bytes
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y aria2
ARG app
WORKDIR /app
COPY . .
RUN chmod +x start.sh && mkdir -p local && chmod 777 local && mkdir -p run && chmod 777 run && mkdir -p run/data && chmod 777 run/data
COPY ${app} run/${app}
COPY config.json run/data/config.json
RUN chmod +x run/${app}
EXPOSE 7860
CMD ["./start.sh"]