joysthadd commited on
Commit
293c81c
·
verified ·
1 Parent(s): dbb7999

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -38,17 +38,18 @@ RUN mkdir -p /root/.ssh && \
38
  ssh-keyscan github.com >> /root/.ssh/known_hosts
39
 
40
  # Clone private repo into a folder
41
- RUN git clone git@github.com:Sisyetad/problemsolution.git /app/ProblemSolution && \
42
- chown -R appuser:appgroup /app/ProblemSolution/ProblemSolution && \
43
- chmod +x /app/ProblemSolution/ProblemSolution/entrypoint.sh
 
44
 
45
  # ============================================
46
 
47
- WORKDIR /app/ProblemSolution/ProblemSolution
48
 
49
  # Switch to non-root user
50
  USER appuser
51
 
52
  EXPOSE 8000
53
 
54
- CMD ["sh", "/app/ProblemSolution/ProblemSolution/entrypoint.sh"]
 
38
  ssh-keyscan github.com >> /root/.ssh/known_hosts
39
 
40
  # Clone private repo into a folder
41
+
42
+ RUN git clone git@github.com:Sisyetad/creative_mind.git /app/CreativeMind && \
43
+ chown -R appuser:appgroup /app/CreativeMind/ProblemSolution && \
44
+ chmod +x /app/CreativeMind/ProblemSolution/entrypoint.sh
45
 
46
  # ============================================
47
 
48
+ WORKDIR /app/CreativeMind/ProblemSolution
49
 
50
  # Switch to non-root user
51
  USER appuser
52
 
53
  EXPOSE 8000
54
 
55
+ CMD ["sh", "/app/CreativeMind/ProblemSolution/entrypoint.sh"]