Skip to content

Commit

Permalink
chore: Include git in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramimashkouk committed Jun 3, 2024
1 parent 6aa4fce commit 975a5fc
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ ENV PATH="/poetry-venv/bin:$PATH"
COPY --from=backend-builder /temp/backend/df_designer /src2/backend/df_designer
COPY ./${PROJECT_DIR} /src2/project_dir

# Install Git
RUN apt-get update && apt-get install -y git

# Set the GIT_PYTHON_GIT_EXECUTABLE environment variable
ENV GIT_PYTHON_GIT_EXECUTABLE=/usr/bin/git

# Install the wheel
WORKDIR /src2/project_dir
RUN poetry lock --no-update \
&& poetry install
RUN poetry install

CMD ["poetry", "run", "dflowd", "run_backend"]


# #TODO: change scr to app (maybe)

0 comments on commit 975a5fc

Please sign in to comment.