coldbox.dockerfile 521 B

12345678910111213141516171819202122
  1. FROM ortussolutions/commandbox:3.6.4
  2. ENV cfconfig_adminPassword=password
  3. ENV box_server_runwar_args=--cache-servlet-paths=true
  4. COPY ./src/server-lucee.json /app/server.json
  5. COPY ./src/.cfconfig.json /app/.cfconfig.json
  6. COPY ./src/box.json /app/box.json
  7. RUN box install --verbose --force
  8. RUN ${BUILD_DIR}/util/warmup-server.sh
  9. RUN box cfconfig import from=/app/.cfconfig.json toFormat=luceeWeb
  10. RUN export FINALIZE_STARTUP=true;$BUILD_DIR/run.sh;unset FINALIZE_STARTUP
  11. HEALTHCHECK NONE
  12. EXPOSE 8080
  13. COPY ./src /app/