fix(docker): add python3 dependency into docker image for yt download library
This commit is contained in:
+2
-2
@@ -11,10 +11,10 @@ COPY --from=builder /spooty/src ./src
|
||||
COPY --from=builder /spooty/package.json ./package.json
|
||||
COPY --from=builder /spooty/package-lock.json ./package-lock.json
|
||||
COPY --from=builder /spooty/src/backend/.env.docker ./.env
|
||||
RUN rm -rf node_modules
|
||||
RUN npm ci --omit=dev
|
||||
RUN npm prune --production
|
||||
RUN rm -rf src package.json package-lock.json
|
||||
RUN apk add --no-cache ffmpeg
|
||||
RUN apk add --no-cache redis
|
||||
RUN apk add --no-cache python3 py3-pip
|
||||
EXPOSE 3000
|
||||
CMD ["node", "backend/main.js"]
|
||||
@@ -83,6 +83,8 @@ Spooty can be also build from source files on your own.
|
||||
#### Requirements
|
||||
- Node v18.19.1 (it is recommended to use `nvm` node version manager to install proper version of node)
|
||||
- Redis in memory cache
|
||||
- Ffmpeg
|
||||
- Python3
|
||||
|
||||
#### Process
|
||||
- install Node v18.19.1 using `nvm install` and use that node version `nvm use`
|
||||
|
||||
Reference in New Issue
Block a user