From e8862ed1a3573dcc4873df0fe4a6bfc8e6bf2741 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 13 Dec 2021 15:36:48 +0200 Subject: [PATCH] Fix moving example config --- Dockerfile | 4 ++-- Dockerfile.ci | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0d6bb28..bd27ebe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,11 +52,11 @@ RUN apk add --virtual .build-deps python3-dev build-base git \ && sed -Ei 's/psycopg2-binary.+//' optional-requirements.txt \ && pip3 install -r requirements.txt -r optional-requirements.txt \ dateparser langdetect python-gitlab pyquery cchardet semver tzlocal cssselect \ - && apk del .build-deps \ - && cp maubot/example-config.yaml . && rm -rf maubot + && apk del .build-deps # TODO also remove dateparser, langdetect and pyquery when maubot supports installing dependencies COPY . /opt/maubot +RUN cp maubot/example-config.yaml . COPY ./docker/mbc.sh /usr/local/bin/mbc COPY --from=frontend-builder /frontend/build /opt/maubot/frontend ENV UID=1337 GID=1337 XDG_CONFIG_HOME=/data diff --git a/Dockerfile.ci b/Dockerfile.ci index 81f8b56..7719d33 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -46,11 +46,11 @@ RUN apk add --virtual .build-deps python3-dev build-base git \ && sed -Ei 's/psycopg2-binary.+//' optional-requirements.txt \ && pip3 install -r requirements.txt -r optional-requirements.txt \ dateparser langdetect python-gitlab pyquery cchardet semver tzlocal cssselect \ - && apk del .build-deps \ - && cp maubot/example-config.yaml . && rm -rf maubot + && apk del .build-deps # TODO also remove dateparser, langdetect and pyquery when maubot supports installing dependencies COPY . /opt/maubot +RUN cp /opt/maubot/maubot/example-config.yaml /opt/maubot COPY ./docker/mbc.sh /usr/local/bin/mbc ENV UID=1337 GID=1337 XDG_CONFIG_HOME=/data VOLUME /data