Skip to content
Clécio Varjão edited this page Sep 28, 2018 · 1 revision

Preparing your Project

  • Isolate your application/components code into its own directory. Example:
\openshift\*
\my-base-backend\Dockerfile
\my-base-backend\requirements.txt      (symlink to ..\my-backend\requirements.txt)
\my-base-frontend\Dockerfile
\my-base-frontend\package.json      (symlink to ..\my-base-backend\package.json)
\my-base-frontend\package-lock.json      (symlink to ..\my-base-backend\package-lock.json)
\my-backend\requirements.txt
\my-frontend\package.json
\my-frontend\package-lock.json
\my-frontend\*
\Jenkinsfile
\LICENSE
\README.md

Notes:
1) As a rule of thumb, each `ImageStream` gets it is own directory for its source code, including Dockerfile.
2) `my-base*` are optional. The are use to create base images where dependencies are stored in an intermediate image.

Clone this wiki locally