Move Docker-related files to contrib/stella directory and update paths accordingly

This commit is contained in:
2025-10-07 20:06:12 +01:00
parent 3314a2a892
commit 23985719ba
11 changed files with 7 additions and 7 deletions

6
.gitignore vendored
View File

@@ -76,7 +76,7 @@ cmd/benchmark/data
!*.css
!*.ts
!*.html
!Dockerfile
!contrib/stella/Dockerfile
!*.lock
!*.nix
!license
@@ -88,10 +88,10 @@ cmd/benchmark/data
!.gitignore
!version
!out.jsonl
!Dockerfile*
!contrib/stella/Dockerfile
!strfry.conf
!config.toml
!.dockerignore
!contrib/stella/.dockerignore
!*.jsx
!*.tsx
!app/web/dist

View File

@@ -2,7 +2,7 @@
# Fixes: failed to solve: error from sender: open cmd/benchmark/data/postgres: permission denied
# Benchmark data and reports (mounted at runtime via volumes)
cmd/benchmark/data/
../../cmd/benchmark/data/
cmd/benchmark/reports/
# VCS and OS cruft

View File

@@ -19,11 +19,11 @@ RUN apk add --no-cache libsecp256k1-dev
WORKDIR /build
# Copy go modules first (for better caching)
COPY go.mod go.sum ./
COPY ../../go.mod go.sum ./
RUN go mod download
# Copy source code
COPY . .
COPY ../.. .
# Build the relay with optimizations from v0.4.8
RUN CGO_ENABLED=1 GOOS=linux go build -ldflags "-w -s" -o relay .

View File

@@ -4,7 +4,7 @@
services:
orly-relay:
build:
context: .
context: ../..
dockerfile: Dockerfile
image: silberengel/next-orly:latest
container_name: orly-relay