mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-21 19:30:16 +00:00
improved build cache add nginx after pip
This commit is contained in:
parent
08f74caef0
commit
37140551d2
@ -25,9 +25,6 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ] ; then \
|
|||||||
apt-get -y update && apt-get -y install --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/* \
|
apt-get -y update && apt-get -y install --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/* \
|
||||||
; fi
|
; fi
|
||||||
|
|
||||||
# copy config files
|
|
||||||
COPY nginx.conf /etc/nginx/conf.d/
|
|
||||||
|
|
||||||
# make folders
|
# make folders
|
||||||
RUN mkdir /cache
|
RUN mkdir /cache
|
||||||
RUN mkdir /youtube
|
RUN mkdir /youtube
|
||||||
@ -37,6 +34,9 @@ RUN mkdir /app
|
|||||||
COPY ./tubearchivist/requirements.txt /requirements.txt
|
COPY ./tubearchivist/requirements.txt /requirements.txt
|
||||||
RUN pip install --no-cache-dir -r requirements.txt --src /usr/local/src
|
RUN pip install --no-cache-dir -r requirements.txt --src /usr/local/src
|
||||||
|
|
||||||
|
# copy config files
|
||||||
|
COPY nginx.conf /etc/nginx/conf.d/
|
||||||
|
|
||||||
# copy application into container
|
# copy application into container
|
||||||
COPY ./tubearchivist /app
|
COPY ./tubearchivist /app
|
||||||
COPY ./run.sh /app
|
COPY ./run.sh /app
|
||||||
|
Loading…
Reference in New Issue
Block a user