Update matrix-webhook/Dockerfile, synapse/Makefile files

This commit is contained in:
Adrien le Maire 2021-05-25 07:57:53 +00:00
parent e4c5e91057
commit 9798329c6c
2 changed files with 12 additions and 8 deletions

View File

@ -1,13 +1,17 @@
FROM node:16.1.0 FROM node:10-alpine
COPY . /app COPY . /
WORKDIR /app WORKDIR /
ENV NODE_ENV=development ENV NODE_ENV=development
RUN npm install -g npm-check-updates RUN npm install -g npm-check-updates
RUN ncu -u matrix-appservice-bridge RUN ncu -u matrix-appservice-bridge
RUN npm install \ RUN apk add --no-cache -t build-deps make gcc g++ python libc-dev wget git dos2unix \
&& chmod +x docker-start.sh && apk add --no-cache ca-certificates \
&& dos2unix docker-start.sh \
&& chmod +x docker-start.sh \
&& npm install \
&& apk del build-deps
ENV NODE_ENV=production ENV NODE_ENV=production
ENV WEBHOOKS_USER_STORE_PATH=/data/user-store.db ENV WEBHOOKS_USER_STORE_PATH=/data/user-store.db
@ -15,7 +19,7 @@ ENV WEBHOOKS_ROOM_STORE_PATH=/data/room-store.db
ENV WEBHOOKS_DB_CONFIG_PATH=/data/database.json ENV WEBHOOKS_DB_CONFIG_PATH=/data/database.json
ENV WEBHOOKS_ENV=docker ENV WEBHOOKS_ENV=docker
CMD /app/docker-start.sh CMD /docker-start.sh
EXPOSE 9000 EXPOSE 9000
VOLUME ["/data"] VOLUME ["/data"]

View File

@ -1,5 +1,5 @@
NAMESPACE=alemairebe NAMESPACE=alemairebe
VERSION=1.33.2 VERSION=1.34.0
IMAGE=synapse IMAGE=synapse
push: get decompress build push: get decompress build