Skip to content

Commit

Permalink
fix: product images ownership
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Cervello committed Oct 29, 2021
1 parent f054cf5 commit 642cc8c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ COMPOSE_PATH_SEPARATOR=;
COMPOSE_FILE=docker-compose.yml;docker/dev.yml

TAG=latest
WWW_DATA_HOST_USER=${UID}
PRODUCERS_PLATFORM=0
PRODUCT_OPENER_DOMAIN=openfoodfacts.localhost
PRODUCT_OPENER_PORT=80
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,12 @@ prune_cache:
@echo "🥫 Pruning Docker builder cache …"
docker builder prune -f

clean: goodbye hdown prune prune_cache
clean_folders:
rm html/images/products
rm -rf node_modules/
rm -rf html/data/i18n/
rm -rf html/{css,js}/dist/
rm -rf tmp/
rm -rf logs/

clean: goodbye hdown prune prune_cache clean_folders
2 changes: 2 additions & 0 deletions docker/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ services:
build:
context: .
dockerfile: Dockerfile.frontend
args:
WWW_DATA_HOST_USER: ${WWW_DATA_HOST_USER}
mongodb:
image: mongo:4.4
networks:
Expand Down

0 comments on commit 642cc8c

Please sign in to comment.