Updated dockerfile to support remote plugins

This commit is contained in:
Ashish
2025-07-23 16:33:19 +00:00
parent 94a6fd83d4
commit cdb9deb9cd
2 changed files with 2 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
FROM golang:1.24-bullseye AS builder
WORKDIR /app
WORKDIR /workspace/app
COPY cmd/adapter ./cmd/adapter
COPY core/ ./core
COPY pkg/ ./pkg
@@ -16,7 +16,7 @@ FROM cgr.dev/chainguard/wolfi-base
WORKDIR /app
# Copy only the built binary and plugin
COPY --from=builder /app/server .
COPY --from=builder /workspace/app/server .
# Expose port 8080
EXPOSE 8080

2
go.mod
View File

@@ -2,8 +2,6 @@ module github.com/beckn/beckn-onix
go 1.24
toolchain go1.23.4
require (
github.com/kr/pretty v0.3.1 // indirect
github.com/rogpeppe/go-internal v1.13.1 // indirect