Add Intellij run configurations
ADD
.run/Build devportal-base_latest.run.xml
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="Build devportal-base:latest" type="docker-deploy" factoryName="dockerfile" server-name="Docker">
+ <deployment type="dockerfile">
+ <settings>
+ <option name="imageTag" value="devportal-base:latest" />
+ <option name="buildCliOptions" value="" />
+ <option name="buildOnly" value="true" />
+ <option name="command" value="" />
+ <option name="containerName" value="" />
+ <option name="contextFolderPath" value="." />
+ <option name="entrypoint" value="" />
+ <option name="commandLineOptions" value="" />
+ <option name="sourceFilePath" value="docker/images/base/Dockerfile" />
+ </settings>
+ </deployment>
+ <method v="2" />
+ </configuration>
+</component>
\ No newline at end of file

MODIFY
README.md
README.md
@@ -14,6 +14,13 @@ Run `ng generate component component-name` to generate a new component. You can
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
+### Build docker image locally
+
+To build the docker image locally you have to run the following two Intellij run configurations:
+
+1. Build devportal-base:latest
+2. Build api-mgmt/devportal:latest
+
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

GW-384: Add Intellij run configurations