Update Dockerfile

This commit is contained in:
Adrien le Maire 2021-05-19 12:23:48 +00:00
parent 5ddc69bf00
commit f08fce28be

View File

@ -7,15 +7,11 @@ RUN apk add --no-cache -t build-deps make gcc g++ python libc-dev wget git dos2u
&& apk add --no-cache ca-certificates
RUN npm install -g npm-check-updates
RUN ncu -t minor -u \
&& ncu -u matrix-appservice-bridge
RUN ncu -u matrix-appservice-bridge
RUN npm install \
&& dos2unix docker-start.sh \
&& chmod +x docker-start.sh \
FROM node:16.1.0-alpine3.13
COPY --from=builder /app /app
ENV NODE_ENV=production
ENV WEBHOOKS_USER_STORE_PATH=/data/user-store.db
ENV WEBHOOKS_ROOM_STORE_PATH=/data/room-store.db
@ -26,4 +22,4 @@ WORKDIR /app
CMD /app/docker-start.sh
EXPOSE 9000
VOLUME ["/data"]
VOLUME ["/data"]