This commit is contained in:
parent
377a12dc80
commit
c92aea1aca
@ -34,6 +34,10 @@ RUN adduser --system --uid 1001 nextjs
|
|||||||
RUN mkdir .next
|
RUN mkdir .next
|
||||||
RUN chown nextjs:nodejs .next
|
RUN chown nextjs:nodejs .next
|
||||||
|
|
||||||
|
# Add the commit hash
|
||||||
|
ARG GIT_REV
|
||||||
|
ENV GIT_REV=${GIT_REV}
|
||||||
|
|
||||||
COPY --from=builder --chown=nextjs:nodejs /app/node_modules ./node_modules
|
COPY --from=builder --chown=nextjs:nodejs /app/node_modules ./node_modules
|
||||||
COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
|
COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
|
||||||
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
|
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
|
||||||
|
Reference in New Issue
Block a user