19 lines
403 B
Docker
19 lines
403 B
Docker
FROM ghcr.io/windmill-labs/windmill-ee:latest AS base
|
|
|
|
FROM dockerproxy.com/library/python:3.10-alpine3.14 AS replacer
|
|
|
|
ARG REPLACE_OA
|
|
|
|
COPY --from=base /usr/src/app/windmill /windmill
|
|
|
|
COPY replace.py /
|
|
COPY replace_oa.py /
|
|
|
|
RUN python /replace.py /windmill
|
|
|
|
RUN if [ "$REPLACE_OA" = "true" ] ; then python /replace_oa.py /windmill ; fi
|
|
|
|
FROM base
|
|
|
|
COPY --from=replacer /windmill /usr/src/app/windmill
|