Skip to content
Merged
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
3 changes: 3 additions & 0 deletions builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ RUN nvm use 20
RUN apt-get install -y golang-go
RUN go install github.com/magefile/mage@latest
RUN cp /root/go/bin/mage /usr/local/bin/mage

ENV GO111MODULE=on
ENV GOPROXY=https://proxy.golang.org
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ services:
context: ./builder
dockerfile: Dockerfile
volumes:
- .:/app
- ./:/app
- go-cache:/root/.cache/go-build
- go-mod-cache:/go/pkg/mod
- go-mod-cache:/root/go/pkg/mod
working_dir: /app
command: bash -c "cd /app && GOFLAGS=-buildvcs=false mage -v && npm install && npm run build"
command: bash -c "cd /app && npm ci && GOFLAGS=-buildvcs=false mage -v build:Backend && npm run build"

grafana:
user: root
Expand Down
Loading