diff --git a/docker-compose.yaml b/docker-compose.yaml index 2ff56e3..b5da76d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,8 +5,9 @@ services: dockerfile: Dockerfile volumes: - ./:/app - - go-cache:/root/.cache/go-build - - go-mod-cache:/root/go/pkg/mod + - go-cache:/root/.cache/go-build/ + - go-mod-cache:/root/go/pkg/mod/ + - node_modules:/app/node_modules/ working_dir: /app command: bash -c "cd /app && npm ci && GOFLAGS=-buildvcs=false mage -v build:Backend && npm run build" @@ -54,6 +55,7 @@ services: dockerfile: Dockerfile volumes: - .:/app + - node_modules:/app/node_modules working_dir: /app ports: - "8080:8080" @@ -93,3 +95,4 @@ services: volumes: go-cache: go-mod-cache: + node_modules: diff --git a/package.json b/package.json index 18b37ea..d31a944 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "logexplorer", + "name": "oql", "version": "1.0.0", "scripts": { "build": "webpack -c ./.config/webpack/webpack.config.ts --env production",