mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-11 02:53:30 +00:00
Compare commits
No commits in common. "e4c5e91057083b3cc0df791caf850ebb51b9c98c" and "5ddc69bf003779788c5df01d133e245fe0709efe" have entirely different histories.
e4c5e91057
...
5ddc69bf00
@ -1,20 +1,28 @@
|
||||
FROM node:16.1.0
|
||||
FROM node:16.1.0-alpine3.13 as builder
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=development
|
||||
RUN apk add --no-cache -t build-deps make gcc g++ python libc-dev wget git dos2unix \
|
||||
&& apk add --no-cache ca-certificates
|
||||
|
||||
RUN npm install -g npm-check-updates
|
||||
RUN ncu -u matrix-appservice-bridge
|
||||
RUN ncu -t minor -u \
|
||||
&& ncu -u matrix-appservice-bridge
|
||||
RUN npm install \
|
||||
&& chmod +x docker-start.sh
|
||||
&& 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
|
||||
ENV WEBHOOKS_DB_CONFIG_PATH=/data/database.json
|
||||
ENV WEBHOOKS_ENV=docker
|
||||
|
||||
WORKDIR /app
|
||||
CMD /app/docker-start.sh
|
||||
|
||||
EXPOSE 9000
|
||||
|
@ -1,5 +1,5 @@
|
||||
NAMESPACE=alemairebe
|
||||
VERSION=0.0.3
|
||||
VERSION=0.0.2
|
||||
|
||||
IMAGE=matrix-webhook
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user