updated dockerfile
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -9,13 +9,10 @@ RUN apk add curl wget psmisc python3 ffmpeg
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN chmod +x ./fetch-yt-dlp.sh
|
RUN chmod +x ./fetch-yt-dlp.sh
|
||||||
# install node dependencies
|
# install node dependencies
|
||||||
RUN npm install
|
RUN yarn
|
||||||
RUN npm run build
|
RUN yarn build
|
||||||
RUN npm run build-server
|
RUN yarn build-server
|
||||||
RUN npm run fetch
|
RUN yarn run fetch
|
||||||
# cleanup
|
|
||||||
RUN npm remove parcel
|
|
||||||
RUN rm -rf .parcel-cache
|
|
||||||
# expose and run
|
# expose and run
|
||||||
EXPOSE 3022
|
EXPOSE 3022
|
||||||
CMD [ "node" , "./dist/main.js" ]
|
CMD [ "node" , "./dist/main.js" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user