Skip to content

Commit

Permalink
fix: Ensure ETHERPAD_PLUGINS ARG is recognized in all stages
Browse files Browse the repository at this point in the history
  • Loading branch information
MayorFaj authored and SamTV12345 committed Feb 21, 2025
1 parent b03e816 commit feaae49
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ FROM build AS build_copy

FROM build_${BUILD_ENV} AS development

ARG ETHERPAD_PLUGINS=
ARG ETHERPAD_LOCAL_PLUGINS=
ARG ETHERPAD_GITHUB_PLUGINS=

COPY --chown=etherpad:etherpad ./src/ ./src/
COPY --chown=etherpad:etherpad --from=adminbuild /opt/etherpad-lite/src/ templates/admin./src/templates/admin
COPY --chown=etherpad:etherpad --from=adminbuild /opt/etherpad-lite/src/static/oidc ./src/static/oidc
Expand All @@ -144,6 +148,10 @@ RUN bin/installDeps.sh && \

FROM build_${BUILD_ENV} AS production

ARG ETHERPAD_PLUGINS=
ARG ETHERPAD_LOCAL_PLUGINS=
ARG ETHERPAD_GITHUB_PLUGINS=

ENV NODE_ENV=production
ENV ETHERPAD_PRODUCTION=true

Expand Down

0 comments on commit feaae49

Please sign in to comment.