Spaces:
Sleeping
Sleeping
de-debug dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -5,14 +5,13 @@ ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH
|
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|
| 8 |
-
RUN apt-get update && apt-get install -y --no-install-recommends libglib2.0-0 libsm6 libxrender1 libxext6 libxcb1 libgl1 libgomp1 ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libavdevice-dev libopus-dev libvpx-dev libsrtp2-dev
|
| 9 |
-
|
| 10 |
-
RUN curl -fsSL | bash - && apt-get install -y --no-install-recommends nodejs && rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
COPY requirements.txt ./
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
| 15 |
COPY . .
|
|
|
|
| 16 |
RUN npm install && npm run build && mkdir -p /app/static && cp -R dist/* /app/static/
|
| 17 |
|
| 18 |
ENV FOCUSGUARD_CACHE_DIR=/app/.cache/focusguard
|
|
|
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|
| 8 |
+
RUN apt-get update && apt-get install -y --no-install-recommends libglib2.0-0 libsm6 libxrender1 libxext6 libxcb1 libgl1 libgomp1 ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libavdevice-dev libopus-dev libvpx-dev libsrtp2-dev build-essential nodejs npm && rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
| 9 |
|
| 10 |
COPY requirements.txt ./
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
COPY . .
|
| 14 |
+
|
| 15 |
RUN npm install && npm run build && mkdir -p /app/static && cp -R dist/* /app/static/
|
| 16 |
|
| 17 |
ENV FOCUSGUARD_CACHE_DIR=/app/.cache/focusguard
|