mirror of
https://github.com/maubot/maubot
synced 2025-08-29 17:50:38 +00:00
Fix building standalone image
This commit is contained in:
parent
fa77005121
commit
6082a47fdc
2 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
|||
FROM docker.io/alpine:3.10
|
||||
|
||||
RUN apk add --no-cache --virtual .build-deps \
|
||||
COPY . /opt/maubot
|
||||
RUN cd /opt/maubot \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
python3-dev \
|
||||
libffi-dev \
|
||||
build-base \
|
||||
|
@ -9,6 +11,7 @@ RUN apk add --no-cache --virtual .build-deps \
|
|||
py3-sqlalchemy \
|
||||
py3-attrs \
|
||||
py3-bcrypt \
|
||||
py3-cffi \
|
||||
ca-certificates \
|
||||
su-exec \
|
||||
py3-psycopg2 \
|
||||
|
@ -16,5 +19,5 @@ RUN apk add --no-cache --virtual .build-deps \
|
|||
py3-jinja2 \
|
||||
py3-packaging \
|
||||
py3-markdown \
|
||||
&& pip3 install maubot \
|
||||
&& pip3 install . \
|
||||
&& apk del .build-deps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue