mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
Add more deps to docker image
This commit is contained in:
parent
15ec4f7155
commit
e82980c456
14
Dockerfile
14
Dockerfile
@ -1,9 +1,9 @@
|
||||
FROM node:10 AS frontend-builder
|
||||
FROM node:12 AS frontend-builder
|
||||
|
||||
COPY ./maubot/management/frontend /frontend
|
||||
RUN cd /frontend && yarn --prod && yarn build
|
||||
|
||||
FROM alpine:3.9
|
||||
FROM alpine:edge
|
||||
|
||||
ENV UID=1337 \
|
||||
GID=1337
|
||||
@ -11,7 +11,7 @@ ENV UID=1337 \
|
||||
COPY . /opt/maubot
|
||||
COPY --from=frontend-builder /frontend/build /opt/maubot/frontend
|
||||
WORKDIR /opt/maubot
|
||||
RUN apk add --no-cache \
|
||||
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \
|
||||
py3-aiohttp \
|
||||
py3-sqlalchemy \
|
||||
py3-attrs \
|
||||
@ -24,7 +24,13 @@ RUN apk add --no-cache \
|
||||
py3-pillow \
|
||||
py3-magic \
|
||||
py3-psycopg2 \
|
||||
&& pip3 install -r requirements.txt feedparser dateparser
|
||||
py3-matplotlib \
|
||||
py3-ruamel.yaml \
|
||||
py3-jinja2 \
|
||||
py3-click \
|
||||
py3-packaging \
|
||||
py3-markdown \
|
||||
&& pip3 install -r requirements.txt feedparser dateparser langdetect
|
||||
# TODO remove pillow, magic and feedparser when maubot supports installing dependencies
|
||||
|
||||
VOLUME /data
|
||||
|
Loading…
Reference in New Issue
Block a user