Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -54,6 +55,7 @@ services:
dockerfile: Dockerfile
volumes:
- .:/app
- node_modules:/app/node_modules
working_dir: /app
ports:
- "8080:8080"
Expand Down Expand Up @@ -93,3 +95,4 @@ services:
volumes:
go-cache:
go-mod-cache:
node_modules:
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "logexplorer",
"name": "oql",
"version": "1.0.0",
"scripts": {
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
Expand Down
Loading