Fix dockerfile

This commit is contained in:
Will Hunt 2019-08-07 21:29:04 +01:00
parent 6644d9f0a8
commit a53bb2fb7f

View File

@ -10,7 +10,7 @@ RUN npm run build
# Stage 1: The actual container
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/
WORKDIR /bin/matrix-github
RUN npm install --production
@ -19,4 +19,4 @@ VOLUME /data
EXPOSE 9993
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"]