diff --git a/Dockerfile b/Dockerfile index 315f154..fc7e1c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,11 @@ RUN apt-get update && apt-get install curl ffmpeg -y WORKDIR /opt/prod/app COPY . . +RUN chmod +x ffmpegQueuePipe.sh + RUN mkdir -p /opt/prod/pipe/ RUN mkdir -p /opt/prod/storage/uploadsPart1 RUN mkdir -p /opt/prod/storage/uploadsPart2 RUN npm install -CMD [ "node", "dist/index.js" ] \ No newline at end of file +CMD "./ffmpegQueuePipe.sh ; node dist/index.js" \ No newline at end of file