mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 20:19:30 +00:00
* make nginx run as root within the container (#268) * move file to videos path with fallback to regular copy with no metadata copying (#268) * use `copy_function=shutil.copy` everywhere with `shutil.move`
This commit is contained in:
@@ -54,12 +54,11 @@ RUN if [ "$INSTALL_DEBUG" ] ; then \
|
||||
; fi
|
||||
|
||||
# make folders
|
||||
RUN mkdir /cache
|
||||
RUN mkdir /youtube
|
||||
RUN mkdir /app
|
||||
RUN mkdir /cache /youtube /app
|
||||
|
||||
# copy config files
|
||||
COPY docker_assets/nginx.conf /etc/nginx/sites-available/default
|
||||
RUN sed -i 's/^user www\-data\;$/user root\;/' /etc/nginx/nginx.conf
|
||||
|
||||
# copy application into container
|
||||
COPY ./tubearchivist /app
|
||||
|
||||
Reference in New Issue
Block a user