mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Fix dockerfile
This commit is contained in:
parent
6644d9f0a8
commit
a53bb2fb7f
@ -10,7 +10,7 @@ RUN npm run build
|
|||||||
# Stage 1: The actual container
|
# Stage 1: The actual container
|
||||||
FROM node:12-alpine
|
FROM node:12-alpine
|
||||||
|
|
||||||
COPY --from=builder /src/lib/* /bin/matrix-github/
|
COPY --from=builder /src/lib/ /bin/matrix-github/
|
||||||
COPY --from=builder /src/package*.json /bin/matrix-github/
|
COPY --from=builder /src/package*.json /bin/matrix-github/
|
||||||
WORKDIR /bin/matrix-github
|
WORKDIR /bin/matrix-github
|
||||||
RUN npm install --production
|
RUN npm install --production
|
||||||
@ -19,4 +19,4 @@ VOLUME /data
|
|||||||
EXPOSE 9993
|
EXPOSE 9993
|
||||||
EXPOSE 7775
|
EXPOSE 7775
|
||||||
|
|
||||||
CMD ["node", "App/BridgeApp.js", "/data/config.yaml", "/data/registration.yml"]
|
CMD ["node", "/bin/matrix-github/App/BridgeApp.js", "/data/config.yaml", "/data/registration.yml"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user