Update matrix-webhook/Dockerfile

This commit is contained in:
Adrien le Maire 2021-05-19 12:38:15 +00:00
parent e98984f940
commit e4c5e91057

View File

@ -1,9 +1,8 @@
FROM node:16.1.0-alpine3.13 as builder
FROM node:16.1.0
COPY . /app
WORKDIR /app
ENV NODE_ENV=development
RUN apk add --no-cache ca-certificates
RUN npm install -g npm-check-updates
RUN ncu -u matrix-appservice-bridge
@ -16,7 +15,6 @@ ENV WEBHOOKS_ROOM_STORE_PATH=/data/room-store.db
ENV WEBHOOKS_DB_CONFIG_PATH=/data/database.json
ENV WEBHOOKS_ENV=docker
WORKDIR /app
CMD /app/docker-start.sh
EXPOSE 9000