1
0
mirror of https://github.com/fcwu/docker-ubuntu-vnc-desktop synced 2026-08-05 16:12:41 +02:00

refactor: code restructure

1. split frontend and backend
2. simplify supervisor configuration
3. align backend log format with supervisor
4. set nginx worker to 1
5. delete static web pages
This commit is contained in:
Doro Wu
2018-03-13 21:24:45 +08:00
parent f5da5d152f
commit 99af8cd699
21 changed files with 14 additions and 292 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ RUN chmod +x /bin/tini
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/
ADD image/usr/local/lib/web/backend/requirements.txt /tmp/
RUN pip install setuptools wheel && pip install -r /tmp/requirements.txt
ADD image /