Skip to content

Commit

Permalink
fix: Docker file failure issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Prajwal-Microsoft committed Jan 5, 2025
1 parent c49ddfd commit 5994f99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/Admin.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ RUN apt-get update && apt-get install python3-tk tk-dev -y
COPY pyproject.toml /usr/local/src/myscripts/pyproject.toml
COPY poetry.lock /usr/local/src/myscripts/poetry.lock
WORKDIR /usr/local/src/myscripts/
RUN pip install --upgrade pip && pip install poetry && poetry export -o requirements.txt && pip install -r requirements.txt
RUN pip install --upgrade pip && pip install poetry && poetry self add poetry-plugin-export && poetry export -o requirements.txt && pip install -r requirements.txt
COPY ./code/backend /usr/local/src/myscripts/admin
COPY ./code/backend/batch/utilities /usr/local/src/myscripts/utilities
WORKDIR /usr/local/src/myscripts/admin
Expand Down
4 changes: 2 additions & 2 deletions docker/Backend.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV AzureWebJobsScriptRoot=/home/site/wwwroot \

COPY pyproject.toml /
COPY poetry.lock /
RUN pip install --upgrade pip && pip install poetry && poetry export -o requirements.txt && pip install -r requirements.txt
RUN pip install --upgrade pip && pip install poetry && poetry self add poetry-plugin-export && poetry export -o requirements.txt && pip install -r requirements.txt

COPY ./code/backend/batch/utilities /home/site/wwwroot/utilities
COPY ./code/backend/batch /home/site/wwwroot
COPY ./code/backend/batch /home/site/wwwroot
2 changes: 1 addition & 1 deletion docker/Frontend.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN apt-get update && apt-get install python3-tk tk-dev -y
COPY pyproject.toml /usr/src/app/pyproject.toml
COPY poetry.lock /usr/src/app/poetry.lock
WORKDIR /usr/src/app
RUN pip install --upgrade pip && pip install poetry uwsgi && poetry export -o requirements.txt && pip install -r requirements.txt
RUN pip install --upgrade pip && pip install poetry uwsgi && poetry self add poetry-plugin-export && poetry export -o requirements.txt && pip install -r requirements.txt

COPY ./code/*.py /usr/src/app/
COPY ./code/backend /usr/src/app/backend
Expand Down

0 comments on commit 5994f99

Please sign in to comment.