summaryrefslogtreecommitdiff
path: root/.docker
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-03-27 09:34:02 +0300
committerAndrew Dolgov <[email protected]>2023-03-27 09:34:02 +0300
commitecedc5116225f79c87c687ae32a88a25b2ecfee7 (patch)
tree383d762369cc08ad8bf27d6de15bd09634ac4922 /.docker
parent33a3672eabe765fd71351f048bd824892ce269fa (diff)
add docker build cache
Diffstat (limited to '.docker')
-rw-r--r--.docker/app/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.docker/app/Dockerfile b/.docker/app/Dockerfile
index c897b034f..8ef2eb144 100644
--- a/.docker/app/Dockerfile
+++ b/.docker/app/Dockerfile
@@ -4,8 +4,6 @@ EXPOSE 9000/tcp
ENV SCRIPT_ROOT=/opt/tt-rss
ENV SRC_DIR=/src/tt-rss/
-COPY --from=app-src . ${SRC_DIR}
-
RUN apk add --no-cache dcron php81 php81-fpm php81-phar \
php81-pdo php81-gd php81-pgsql php81-pdo_pgsql php81-xmlwriter \
php81-mbstring php81-intl php81-xml php81-curl php81-simplexml \
@@ -29,6 +27,8 @@ ADD --chmod=0755 backup.sh /etc/periodic/weekly/backup
ADD index.php ${SCRIPT_ROOT}
ADD config.docker.php ${SCRIPT_ROOT}
+COPY --from=app-src . ${SRC_DIR}
+
ARG ORIGIN_REPO_MAIN=https://git.tt-rss.org/fox/tt-rss.git
ARG ORIGIN_REPO_XACCEL=https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git
ARG ORIGIN_COMMIT=