mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-09-10 05:55:35 +00:00
fix docker build
forgot during rename
This commit is contained in:
+2
-2
@@ -3,12 +3,12 @@ WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN go build -o tower ./cmd/tower
|
||||
RUN go build -o beacon ./cmd/beacon
|
||||
|
||||
FROM alpine:3.19
|
||||
RUN apk add --no-cache ca-certificates tzdata postgresql-client
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/tower .
|
||||
COPY --from=builder /app/beacon .
|
||||
COPY db/migrations/ ./migrations/
|
||||
COPY .build/docker-entrypoint.sh .
|
||||
RUN chmod +x docker-entrypoint.sh
|
||||
|
||||
@@ -24,4 +24,4 @@ if [ -n "$POSTGRES_DSN" ]; then
|
||||
echo "Migrations complete."
|
||||
fi
|
||||
|
||||
exec ./tower "$@"
|
||||
exec ./beacon "$@"
|
||||
|
||||
Reference in New Issue
Block a user