nguyen-brat commited on
Commit
208fa1c
·
1 Parent(s): e4a50e0
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -26,11 +26,6 @@ RUN apt-get update && apt-get install -y \
26
  libgomp1 \
27
  && rm -rf /var/lib/apt/lists/* \
28
  && apt-get clean
29
-
30
- RUN useradd -m -u 1000 user
31
- USER user
32
- ENV HOME /home/user
33
- ENV PATH $HOME/.local/bin:$PATH
34
 
35
  WORKDIR $HOME/app
36
  COPY --chown=user . $HOME/app
@@ -60,6 +55,11 @@ COPY --chown=user . $HOME/app/text-remove/lama
60
  RUN curl -LJO https://huggingface.co/smartywu/big-lama/resolve/main/big-lama.zip
61
  RUN unzip big-lama.zip
62
 
 
 
 
 
 
63
  # Set the working directory back to the root of the project
64
  WORKDIR $HOME/app/text-remove
65
 
 
26
  libgomp1 \
27
  && rm -rf /var/lib/apt/lists/* \
28
  && apt-get clean
 
 
 
 
 
29
 
30
  WORKDIR $HOME/app
31
  COPY --chown=user . $HOME/app
 
55
  RUN curl -LJO https://huggingface.co/smartywu/big-lama/resolve/main/big-lama.zip
56
  RUN unzip big-lama.zip
57
 
58
+ #RUN useradd -m -u 1000 user
59
+ #USER user
60
+ #ENV HOME /home/user
61
+ #ENV PATH $HOME/.local/bin:$PATH
62
+
63
  # Set the working directory back to the root of the project
64
  WORKDIR $HOME/app/text-remove
65