1
0
Fork 0

use remote build cache for faster local dev

This commit is contained in:
Christian Winther 2024-02-22 14:50:15 +00:00
parent 0addfe5605
commit 8fd27c6f0c
2 changed files with 11 additions and 0 deletions

View File

@ -74,6 +74,8 @@ services:
- ${DOCKER_WEB_PROFILE:-}
build:
target: ${DOCKER_APP_RUNTIME}-runtime
cache_from:
- "type=registry,ref=${DOCKER_APP_IMAGE}-cache:${DOCKER_APP_TAG}"
args:
APT_PACKAGES_EXTRA: "${DOCKER_APP_APT_PACKAGES_EXTRA:-}"
PHP_BASE_TYPE: "${DOCKER_APP_BASE_TYPE}"
@ -117,6 +119,8 @@ services:
stop_signal: SIGTERM
build:
target: ${DOCKER_APP_RUNTIME}-runtime
cache_from:
- "type=registry,ref=${DOCKER_APP_IMAGE}-cache:${DOCKER_APP_TAG}"
args:
APT_PACKAGES_EXTRA: "${DOCKER_APP_APT_PACKAGES_EXTRA:-}"
PHP_BASE_TYPE: "${DOCKER_APP_BASE_TYPE}"

View File

@ -0,0 +1,7 @@
###########################################################
# DO NOT CHANGE
###########################################################
# This file is generated by the Pixelfed Docker setup, and
# will be rewritten on every container start
client_max_body_size {{ getenv "POST_MAX_SIZE" "61M" }};