Skip to content

Commit a16b944

Browse files
committed
build(Dockerfile): update videx-server building
1 parent 91687a5 commit a16b944

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

build/Dockerfile.videxserver

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
1212
WORKDIR /opt/videx
1313

1414
COPY requirements.txt /opt/videx/requirements.txt
15-
RUN pip install -r /opt/videx/requirements.txt
15+
RUN apt-get update \
16+
&& apt-get install -y --no-install-recommends \
17+
gcc \
18+
python3-dev \
19+
&& pip install -r /opt/videx/requirements.txt \
20+
&& apt-get purge -y --auto-remove gcc python3-dev \
21+
&& rm -rf /var/lib/apt/lists/*
1622

1723
COPY src/ /opt/videx/src/
1824
COPY build/videx_container_entrypoint.py /opt/videx/videx_container_entrypoint.py

0 commit comments

Comments
 (0)