cstr commited on
Commit
e53f572
·
verified ·
1 Parent(s): b044838

Fix Space root Docker layout

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -25,11 +25,11 @@ RUN apt-get update && \
25
  rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
26
 
27
  COPY --from=build /src/CrispASR/build /opt/crispasr/build
28
- COPY hf-space/requirements.txt /space/requirements.txt
29
  RUN pip3 install --no-cache-dir -r /space/requirements.txt
30
  RUN find /opt/crispasr/build -type f -name 'lib*.so*' -exec cp -a {} /usr/local/lib/ \; && ldconfig
31
 
32
- COPY hf-space/app.py hf-space/start.sh /space/
33
  RUN chmod +x /space/start.sh && \
34
  useradd -m -u 1000 app && \
35
  mkdir -p /models /cache && \
 
25
  rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
26
 
27
  COPY --from=build /src/CrispASR/build /opt/crispasr/build
28
+ COPY requirements.txt /space/requirements.txt
29
  RUN pip3 install --no-cache-dir -r /space/requirements.txt
30
  RUN find /opt/crispasr/build -type f -name 'lib*.so*' -exec cp -a {} /usr/local/lib/ \; && ldconfig
31
 
32
+ COPY app.py start.sh /space/
33
  RUN chmod +x /space/start.sh && \
34
  useradd -m -u 1000 app && \
35
  mkdir -p /models /cache && \