Add versions to server/worker docker v2

This commit is contained in:
Adria Navarro 2023-10-20 17:19:44 +02:00
parent 4c19ad1ca7
commit 9dacb5849b
2 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,10 @@ COPY packages/server/docker_run.sh .
COPY packages/server/builder/ builder/
COPY packages/server/client/ client/
ARG VERSION
RUN test -n "$VERSION"
ENV VERSION=$VERSION
EXPOSE 4001
# have to add node environment production after install

View File

@ -50,4 +50,8 @@ ENV POSTHOG_TOKEN=phc_bIjZL7oh2GEUd2vqvTBH8WvrX0fWTFQMs6H5KQxiUxU
ENV TENANT_FEATURE_FLAGS=*:LICENSING,*:USER_GROUPS,*:ONBOARDING_TOUR
ENV ACCOUNT_PORTAL_URL=https://account.budibase.app
ARG VERSION
RUN test -n "$VERSION"
ENV VERSION=$VERSION
CMD ["./docker_run.sh"]