Fix moving example config
This commit is contained in:
parent
df2f2a896a
commit
e8862ed1a3
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user