Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Dockerfile 1.5 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  1. ################################################################
  2. # ColdBox Docker Image
  3. # You can use this docker image to build your own
  4. # You can use the following to build the image
  5. # docker build --no-cache -t my-coldbox-app -f ./Dockerfile ./
  6. # You can use the following to run the image
  7. # docker run -it -p 8080:8080 my-coldbox-app
  8. ################################################################
  9. # We pull the latest image, you can change this to a specific tag or CFML engine, which we recommend.
  10. # https://hub.docker.com/r/ortussolutions/commandbox
  11. FROM ortussolutions/commandbox
  12. # Metadata
  13. LABEL maintainer "Ortus Solutions <info@ortussolutions.com>"
  14. LABEL repository "https://github.com/Ortus-Solutions/docker-commandbox"
  15. # Install Lucee Extensions (Optional)
  16. # UUID (Package ID);name=Name Of Extension;version=bundle.version.number (,[UUID;name;version])
  17. # These are available from https://download.lucee.org
  18. # Example: 99A4EF8D-F2FD-40C8-8FB8C2E67A4EEEB6;name=Microsoft SQL Server (Vendor Microsoft);version=6.4.0.jre8
  19. # ENV LUCEE_EXTENSIONS ""
  20. # Install Adobe 2021 Modules (Optional)
  21. # https://helpx.adobe.com/coldfusion/using/coldfusion-package-manager.html
  22. # ENV CFPM_INSTALL=
  23. # ColdBox Healthcheck
  24. ENV HEALTHCHECK_URI "http://127.0.0.1:${PORT}/healthcheck"
  25. # Copy application files to root - Uses .dockerignore to ignore files
  26. COPY ./ ${APP_DIR}/
  27. # Make sure dependencies are installed
  28. RUN cd ${APP_DIR} && box install --production
  29. # WARM UP THE SERVER
  30. RUN ${BUILD_DIR}/util/warmup-server.sh
  31. # Run it
  32. CMD $BUILD_DIR/run.sh
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...