Skip to content

Commit

Permalink
added a make command to change the owner
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoLeist committed Dec 11, 2023
1 parent 60bf755 commit 943c892
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
*.log
.ruff_cache
.pytest_cache
data/output/*.json
data/uploads/*.csv
data/uploads/*.yaml
data/uploads/*.json
data/uploads/*.sql.gz
data/output/*/*.json
data/uploads/*/*.csv
data/uploads/*/*.yaml
data/uploads/*/*.yml
data/uploads/*/*.json
data/uploads/*/*.sql.gz
22 changes: 11 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
version: '3.3'
services:
api:
image: leistivo/convert-pheno-ui-server:${DOCKER_IMG_TAG}
# image: leistivo/convert-pheno-ui-server:${DOCKER_IMG_TAG}
container_name: convert-pheno-api
# build:
# context: ./convertPheno_server
# target: prod
# args:
# - IGNORE_CACHE_FROM_HERE=${IGNORE_CACHE_FROM_HERE}
build:
context: ./convertPheno_server
target: prod
args:
- IGNORE_CACHE_FROM_HERE=${IGNORE_CACHE_FROM_HERE}
depends_on:
api-db:
condition: service_healthy
Expand Down Expand Up @@ -55,12 +55,12 @@ services:
test: pg_isready -U postgres

client:
image: leistivo/convert-pheno-ui-client:${DOCKER_IMG_TAG}
# image: leistivo/convert-pheno-ui-client:${DOCKER_IMG_TAG}
container_name: convert-pheno-client
# build:
# context: ./convertPheno_client
# args:
# - IGNORE_CACHE_FROM_HERE=${IGNORE_CACHE_FROM_HERE}
build:
context: ./convertPheno_client
args:
- IGNORE_CACHE_FROM_HERE=${IGNORE_CACHE_FROM_HERE}
depends_on:
api:
condition: service_healthy
Expand Down
4 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,7 @@ dive-server:

dive-client:
dive leistivo/convert-pheno-ui-client:${DOCKER_IMG_TAG}

change-owner:
echo "Changing owner of data directory to ${UID}:${GID}"
sudo chown -R ${UID}:${GID} data

0 comments on commit 943c892

Please sign in to comment.