Leodass1433 commited on
Commit
dfa8dbe
·
verified ·
1 Parent(s): 8e7daff

fix: symlink /usr/local to /install for python venv base_prefix

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -3,8 +3,9 @@ FROM ghcr.io/cinnamon/kotaemon:main-full as base_image
3
 
4
  USER root
5
  RUN useradd -m -u 1000 user || true
 
 
6
  RUN chown -R user:user /app || true
7
- RUN chown -R user:user /usr/local/lib/python3.10 || true
8
 
9
  WORKDIR /app
10
  COPY --chown=user:user . /app
 
3
 
4
  USER root
5
  RUN useradd -m -u 1000 user || true
6
+ RUN rm -rf /install && ln -s /usr/local /install || true
7
+ RUN chmod -R a+rX /usr/local || true
8
  RUN chown -R user:user /app || true
 
9
 
10
  WORKDIR /app
11
  COPY --chown=user:user . /app