Allow configuring base image for the single image Docker build.
This commit is contained in:
parent
4a0cca5aed
commit
13c1e0c855
|
@ -1,3 +1,4 @@
|
|||
ARG BASEIMG=budibase/couchdb:v3.3.3
|
||||
FROM node:20-slim as build
|
||||
|
||||
# install node-gyp dependencies
|
||||
|
@ -32,7 +33,7 @@ COPY packages/worker/dist packages/worker/dist
|
|||
COPY packages/worker/pm2.config.js packages/worker/pm2.config.js
|
||||
|
||||
|
||||
FROM budibase/couchdb:v3.3.3 as runner
|
||||
FROM $BASEIMG as runner
|
||||
ARG TARGETARCH
|
||||
ENV TARGETARCH $TARGETARCH
|
||||
#TARGETBUILD can be set to single (for single docker image) or aas (for azure app service)
|
||||
|
|
Loading…
Reference in New Issue