diff --git a/Dockerfile b/Dockerfile index b6c03eb..fdb7cf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,6 @@ ENV \ RUN curl -sSL https://install.python-poetry.org | python3 - ENV PATH="${POETRY_HOME}/bin:${PATH}" - WORKDIR ${APP_PATH} COPY ./poetry.lock ./pyproject.toml ./README.md ./ COPY ./${APP_NAME} ./${APP_NAME} @@ -32,15 +31,15 @@ COPY ./${APP_NAME} ./${APP_NAME} # -------------- FROM staging as worker -ARG APP_NAME -ARG APP_PATH -ARG VERBANOTE_OUTPUT_PATH +ARG APP_NAME=verbanote +ARG APP_PATH=/verbanote +ARG VERBANOTE_OUTPUT_PATH=/transcriptions ENV APP_NAME=${APP_NAME} ENV APP_PATH=${APP_PATH} ENV VERBANOTE_OUTPUT_PATH=${VERBANOTE_OUTPUT_PATH} WORKDIR ${APP_PATH} -RUN poetry install +RUN poetry install RUN mkdir -p ${VERBANOTE_OUTPUT_PATH} # installing the large models