Skip to content

Commit

Permalink
hotfix: 도커 git 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunmin0317 committed Oct 13, 2024
1 parent e4bf057 commit f074694
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ WORKDIR /usr/src/app
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1

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

# set safe directory for git
RUN git config --global --add safe.directory /usr/src/app

# copy project files
COPY . /usr/src/app/

# install dependencies
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN pip install -r requirements.txt

0 comments on commit f074694

Please sign in to comment.