mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +00:00
Update Dockerfile
This commit is contained in:
parent
5ddc69bf00
commit
f08fce28be
@ -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
|
&& apk add --no-cache ca-certificates
|
||||||
|
|
||||||
RUN npm install -g npm-check-updates
|
RUN npm install -g npm-check-updates
|
||||||
RUN ncu -t minor -u \
|
RUN ncu -u matrix-appservice-bridge
|
||||||
&& ncu -u matrix-appservice-bridge
|
|
||||||
RUN npm install \
|
RUN npm install \
|
||||||
&& dos2unix docker-start.sh \
|
&& dos2unix docker-start.sh \
|
||||||
&& chmod +x 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 NODE_ENV=production
|
||||||
ENV WEBHOOKS_USER_STORE_PATH=/data/user-store.db
|
ENV WEBHOOKS_USER_STORE_PATH=/data/user-store.db
|
||||||
ENV WEBHOOKS_ROOM_STORE_PATH=/data/room-store.db
|
ENV WEBHOOKS_ROOM_STORE_PATH=/data/room-store.db
|
||||||
@ -26,4 +22,4 @@ WORKDIR /app
|
|||||||
CMD /app/docker-start.sh
|
CMD /app/docker-start.sh
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
VOLUME ["/data"]
|
VOLUME ["/data"]
|
||||||
|
Loading…
Reference in New Issue
Block a user