Refactoring code and structure
This commit is contained in:
@@ -9,8 +9,8 @@ RUN apt-get install psmisc
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
RUN chmod +x ./lib/fetch-yt-dlp.sh
|
||||
RUN ./lib/fetch-yt-dlp.sh && mv yt-dlp ./lib
|
||||
RUN chmod +x ./server/fetch-yt-dlp.sh
|
||||
RUN ./server/fetch-yt-dlp.sh && mv yt-dlp ./server
|
||||
RUN rm -rf .parcel-cache
|
||||
EXPOSE 3022
|
||||
CMD [ "node" , "./server.js" ]
|
||||
|
||||
Reference in New Issue
Block a user