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
WORKDIR /app
COPY . /
WORKDIR /
ENV NODE_ENV=development
RUN npm install -g npm-check-updates
RUN ncu -u matrix-appservice-bridge
RUN npm install \
&& chmod +x docker-start.sh
RUN apk add --no-cache -t build-deps make gcc g++ python libc-dev wget git dos2unix \
&& 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 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_ENV=docker
CMD /app/docker-start.sh
CMD /docker-start.sh
EXPOSE 9000
VOLUME ["/data"]

View File

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