eatYour commited on
Commit
c270ebe
·
verified ·
1 Parent(s): 75c10b1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -3,7 +3,9 @@ RUN apt-get update && apt-get install -y aria2
3
  ARG app
4
  WORKDIR /app
5
  COPY . .
6
- RUN chmod +x start.sh && mkdir -p local && chmod 777 local && mkdir -p data && chmod 777 data && chmod +x ${app}
 
 
7
 
8
  EXPOSE 7860
9
  CMD ["./start.sh"]
 
3
  ARG app
4
  WORKDIR /app
5
  COPY . .
6
+ RUN chmod +x start.sh && mkdir -p local && chmod 777 local && mkdir -p data && chmod 777 data
7
+ COPY ${app} data/${app}
8
+ RUN chmod +x data/${app}
9
 
10
  EXPOSE 7860
11
  CMD ["./start.sh"]