mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2026-08-05 16:12:41 +02:00
refactor: code structure
1. move folders from /usr/* to /usr/local/* 2. supervisord controls everything
This commit is contained in:
+5
-1
@@ -34,7 +34,11 @@ ARG TINI_VERSION=v0.9.0
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /bin/tini
|
||||
RUN chmod +x /bin/tini
|
||||
|
||||
ADD image/usr/lib/web/requirements.txt /tmp/
|
||||
# ffmpeg
|
||||
RUN mkdir -p /usr/local/ffmpeg \
|
||||
&& curl -sSL https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz | tar xJvf - -C /usr/local/ffmpeg/ --strip 1
|
||||
|
||||
ADD image/usr/local/lib/web/requirements.txt /tmp/
|
||||
RUN pip install setuptools wheel && pip install -r /tmp/requirements.txt
|
||||
ADD image /
|
||||
|
||||
|
||||
Reference in New Issue
Block a user