diff --git a/client.dockerfile b/client.dockerfile index 0ac3e62..8a65b11 100644 --- a/client.dockerfile +++ b/client.dockerfile @@ -1,5 +1,5 @@ # Use a base image with Node.js pre-installed -FROM node:14-alpine as build +FROM node:18-alpine as build # Set the working directory inside the container WORKDIR /app diff --git a/run-start.sh b/run-start.sh index 0e9b162..c793cf5 100644 --- a/run-start.sh +++ b/run-start.sh @@ -1,5 +1,5 @@ echo "run-docker.sh: Starting containers" -docker run --network one-health-network --name one-health-graphdb -e NEO4J_AUTH=none -v /data/onehealth/neo4j_data:/data -d neo4j -docker run --network one-health-network --name one-health-postgredb -e POSTGRES_USER=one_healt_huser -e POSTGRES_PASSWORD=one_health_password -e POSTGRES_DB=one_health -v /data/onehealth/postgre_data:/var/lib/postgresql/data -d rdkit-postgre +docker run --network one-health-network --name one-health-graphdb -e NEO4J_AUTH=none -v $(pwd)/data/neo4j_data:/data -d neo4j +docker run --network one-health-network --name one-health-postgredb -e POSTGRES_USER=one_healt_huser -e POSTGRES_PASSWORD=one_health_password -e POSTGRES_DB=one_health -v $(pwd)/data/postgres_data:/var/lib/postgresql/data -d rdkit-postgre docker run --network one-health-network --name one-health-server -p 8080:8080 -d one-health-server docker run --name one-health-client -p 3000:80 -d one-health-client