Fix Space root Docker layout
Browse files- 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
|
| 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
|
| 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 && \
|