eienmojiki commited on
Commit
2b8b1b0
1 Parent(s): 4069bc3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -67,7 +67,10 @@ RUN cd $HOME && git clone https://github.com/marcopeocchi/yt-dlp-web-ui
67
 
68
  WORKDIR $HOME/yt-dlp-web-ui
69
 
70
- RUN sudo chown user: $HOME/yt-dlp-web-ui
 
 
 
71
  RUN cd frontend && npm i && npm run build
72
  RUN go build -o yt-dlp-webui main.go
73
  RUN chmod +x yt-dlp-webui
 
67
 
68
  WORKDIR $HOME/yt-dlp-web-ui
69
 
70
+ COPY --chown=user config.yml $HOME/yt-dlp-web-ui/config.yml
71
+ RUN mkdir -p ./archive
72
+
73
+ RUN chown -R user: $HOME/yt-dlp-web-ui
74
  RUN cd frontend && npm i && npm run build
75
  RUN go build -o yt-dlp-webui main.go
76
  RUN chmod +x yt-dlp-webui