From 0c95cd10052b6f9117e57a105913605bcc7bcd6f Mon Sep 17 00:00:00 2001 From: iskanred Date: Tue, 30 Apr 2024 00:38:40 +0300 Subject: [PATCH] update Dockerfile-backend and Dockerfile-frontend --- Dockerfile-backend | 4 ++-- Dockerfile-frontend | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile-backend b/Dockerfile-backend index 63cec85..55cdba2 100644 --- a/Dockerfile-backend +++ b/Dockerfile-backend @@ -15,11 +15,11 @@ RUN python3 -m venv $POETRY_VENV \ ENV PATH="${PATH}:${POETRY_VENV}/bin" WORKDIR /app +COPY . /app # Install dependencies -COPY poetry.lock pyproject.toml ./ RUN poetry install +RUN chmod +x ./bin/main.py # Run your app -COPY . /app CMD [ "poetry", "run", "bin/main.py"] diff --git a/Dockerfile-frontend b/Dockerfile-frontend index 913c398..92e8c02 100644 --- a/Dockerfile-frontend +++ b/Dockerfile-frontend @@ -15,11 +15,11 @@ RUN python3 -m venv $POETRY_VENV \ ENV PATH="${PATH}:${POETRY_VENV}/bin" WORKDIR /app +COPY . /app # Install dependencies -COPY poetry.lock pyproject.toml ./ RUN poetry install +RUN chmod +x ./ui/app.py # Run your app -COPY . /app CMD [ "poetry", "run", "streamlit", "run", "ui/app.py" ]