Move Docker-related files to contrib/stella directory and update paths accordingly
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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 .
|
||||
@@ -4,7 +4,7 @@
|
||||
services:
|
||||
orly-relay:
|
||||
build:
|
||||
context: .
|
||||
context: ../..
|
||||
dockerfile: Dockerfile
|
||||
image: silberengel/next-orly:latest
|
||||
container_name: orly-relay
|
||||
Reference in New Issue
Block a user