Dockerfile-release 527 B

12345678910111213
  1. FROM docker.finogeeks.club/base/alpine
  2. RUN mkdir -p /opt/dendrite/log
  3. ENV LOG_DIR=/opt/dendrite/log
  4. ADD ./config /opt/dendrite/config
  5. ADD ./bin /opt/dendrite/bin
  6. EXPOSE 8008 8448
  7. WORKDIR /opt/dendrite
  8. CMD ./bin/dendrite-monolith-server --config=./config/dendrite-release.yaml --tls-cert=./config/server.crt --tls-key=./config/server.key >> /opt/dendrite/log/out.log 2>&1
  9. #CMD ./bin/dendrite-monolith-server --config=./config/dendrite-test.yaml --tls-cert=./config/server.crt --tls-key=./config/server.key >> /dev/null 2>&1