kapllan commited on
Commit
2ad279d
·
verified ·
1 Parent(s): 7d4b9a7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -17,8 +17,6 @@ ENV PATH="$POETRY_HOME/bin:$PATH"
17
  # Install git
18
  RUN apt-get update && apt-get install -y git && apt-get clean
19
 
20
- RUN git clone https://github.com/kapllan/SmartOpinion.git /app
21
-
22
 
23
  # Set the working directory in the container
24
  RUN useradd -m -u 1000 user
@@ -30,6 +28,8 @@ WORKDIR $HOME/app
30
 
31
  COPY --chown=user . $HOME/app
32
 
 
 
33
  # Install any dependencies specified in requirements.txt
34
  RUN pip install poetry
35
  RUN poetry lock
 
17
  # Install git
18
  RUN apt-get update && apt-get install -y git && apt-get clean
19
 
 
 
20
 
21
  # Set the working directory in the container
22
  RUN useradd -m -u 1000 user
 
28
 
29
  COPY --chown=user . $HOME/app
30
 
31
+ RUN git clone https://github.com/kapllan/SmartOpinion.git $HOME/app
32
+
33
  # Install any dependencies specified in requirements.txt
34
  RUN pip install poetry
35
  RUN poetry lock