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

View File

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

View File

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

View File

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