Skip to content

Commit

Permalink
fix: user user's id when exec web command
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 committed Feb 10, 2024
1 parent 24574d8 commit 2c74741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENVIRONMENT ?= local
DOCKER_USER ?= $(shell id -u)
PWD = $(shell pwd)
RUN_ADMIN = docker compose exec admin-${ENVIRONMENT} ems-demo
RUN_WEB = docker compose exec web-${ENVIRONMENT} preview
RUN_WEB = docker compose exec -u ${DOCKER_USER} web-${ENVIRONMENT} preview
RUN_POSTGRES = docker compose exec -e PGUSER=postgres -e PGPASSWORD=adminpg -T postgres
RUN_NPM = docker run -u ${DOCKER_USER}:0 --rm -it -v ${PWD}:/opt/src --workdir /opt/src elasticms/base-php:8.1-cli-dev npm

Expand Down

0 comments on commit 2c74741

Please sign in to comment.