diff --git a/Dockerfile b/Dockerfile index 8f6e991..8033963 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/README.md b/README.md index e5994ab..9a2a6fd 100644 --- a/README.md +++ b/README.md @@ -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`