Skip to content

Commit 16874a3

Browse files
committed
build(docker): update environment for GTFS support
Adds JWT_SECRET environment variable and ensures the new gtfs package is included in the build context.
1 parent bfc7186 commit 16874a3

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
FROM golang:1.24-alpine AS build
1+
FROM golang:1.25-alpine AS build
22
WORKDIR /src
33
COPY go.mod go.sum ./
44
RUN go mod download
55
COPY migrations ./migrations
66
COPY db ./db
7+
COPY gtfs ./gtfs
78
COPY *.go ./
89
RUN CGO_ENABLED=0 go build -o /vehicle-positions .
910

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ services:
2323
PORT: "8080"
2424
DATABASE_URL: "postgres://postgres:postgres@db:5432/vehicle_positions?sslmode=disable"
2525
STALENESS_THRESHOLD: "5m"
26+
JWT_SECRET: "this-is-a-local-dev-secret-1234567890"
2627
depends_on:
2728
db:
2829
condition: service_healthy

0 commit comments

Comments
 (0)