hainazhu commited on
Commit
f08442b
·
1 Parent(s): 2162e0c

modify dockerfile again

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,5 +1,10 @@
1
  FROM juhayna/song-generation-levo:v0.1
2
 
 
 
 
 
 
3
  RUN useradd -m -u 1000 user
4
  USER user
5
  ENV PATH="/home/user/.local/bin:$PATH"
@@ -8,7 +13,6 @@ WORKDIR /app
8
 
9
  COPY --chown=user ./requirements.txt requirements.txt
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
- RUN git lfs install
12
 
13
  COPY --chown=user . /app
14
  CMD ["python3", "app.py"]
 
1
  FROM juhayna/song-generation-levo:v0.1
2
 
3
+ USER root
4
+
5
+ RUN yum install -y git-lfs && \
6
+ git lfs install
7
+
8
  RUN useradd -m -u 1000 user
9
  USER user
10
  ENV PATH="/home/user/.local/bin:$PATH"
 
13
 
14
  COPY --chown=user ./requirements.txt requirements.txt
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
16
 
17
  COPY --chown=user . /app
18
  CMD ["python3", "app.py"]