Update Dockerfile
Browse files- Dockerfile +1 -5
Dockerfile
CHANGED
@@ -3,7 +3,6 @@ FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04
|
|
3 |
ARG DEBIAN_FRONTEND=noninteractive
|
4 |
|
5 |
RUN apt-get update && apt-get install --no-install-recommends -y \
|
6 |
-
curl \
|
7 |
build-essential \
|
8 |
ffmpeg \
|
9 |
libsm6 \
|
@@ -36,9 +35,6 @@ COPY pip.conf $VIRTUAL_ENV/pip.conf
|
|
36 |
|
37 |
RUN pip3 install onnxruntime-gpu==1.17.1
|
38 |
|
39 |
-
RUN curl -sfL https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh -o /usr/local/bin/standalone_embed.sh \
|
40 |
-
&& chmod +x /usr/local/bin/standalone_embed.sh
|
41 |
-
|
42 |
RUN useradd -m -u 1000 user
|
43 |
USER user
|
44 |
|
@@ -57,7 +53,7 @@ COPY --chown=user . $HOME/data
|
|
57 |
|
58 |
EXPOSE 8501
|
59 |
|
60 |
-
CMD
|
61 |
--server.headless true \
|
62 |
--server.enableCORS false \
|
63 |
--server.enableXsrfProtection false \
|
|
|
3 |
ARG DEBIAN_FRONTEND=noninteractive
|
4 |
|
5 |
RUN apt-get update && apt-get install --no-install-recommends -y \
|
|
|
6 |
build-essential \
|
7 |
ffmpeg \
|
8 |
libsm6 \
|
|
|
35 |
|
36 |
RUN pip3 install onnxruntime-gpu==1.17.1
|
37 |
|
|
|
|
|
|
|
38 |
RUN useradd -m -u 1000 user
|
39 |
USER user
|
40 |
|
|
|
53 |
|
54 |
EXPOSE 8501
|
55 |
|
56 |
+
CMD streamlit run app.py \
|
57 |
--server.headless true \
|
58 |
--server.enableCORS false \
|
59 |
--server.enableXsrfProtection false \
|