diff --git a/sorusora-ai/.dockerignore b/sorusora-ai/.dockerignore index dfee57d..cefb679 100644 --- a/sorusora-ai/.dockerignore +++ b/sorusora-ai/.dockerignore @@ -2,4 +2,4 @@ node_modules .idea .vscode *.log -src +dist diff --git a/sorusora-ai/Dockerfile b/sorusora-ai/Dockerfile index 1a88ac6..9196a64 100644 --- a/sorusora-ai/Dockerfile +++ b/sorusora-ai/Dockerfile @@ -20,7 +20,7 @@ WORKDIR /app COPY package.json . -RUN npm install --omit=dev +RUN npm install COPY . . diff --git a/sorusora/Dockerfile b/sorusora/Dockerfile index fa2a98d..d66fbdf 100644 --- a/sorusora/Dockerfile +++ b/sorusora/Dockerfile @@ -7,9 +7,11 @@ ENV DOCKER 1 RUN apt-get update && \ apt-get install ffmpeg -y --no-install-recommends -COPY . . +COPY requirements.txt . + +RUN pip install -r requirements.txt \ + && pip install typing-extensions -RUN pip install -r requirements.txt && \ - pip install typing-extensions +COPY . . CMD ["python", "main.py"]