| commit | 100e03b1682efe523363181913ba09301bf0ed89 | [log] [tgz] |
|---|---|---|
| author | Simon Reis <simon.reis@pta.de> | Fri Jul 17 14:14:35 2020 +0200 |
| committer | Simon Reis <simon.reis@pta.de> | Fri Jul 17 14:14:35 2020 +0200 |
| tree | 326fe4431f87cd304ff074be0726d22ceca63290 | |
| parent | b602b14e059e0346770705f1f71cb3f9cf3d8557 [diff] |
SI-1755 Jenkins Step für neues Projekt erstellen
diff --git a/projects/sit-web-cache/DockerfileWebCache b/projects/sit-web-cache/DockerfileWebCache index 47df1af..838d289 100644 --- a/projects/sit-web-cache/DockerfileWebCache +++ b/projects/sit-web-cache/DockerfileWebCache
@@ -27,7 +27,10 @@ RUN npm install # ADD APP -COPY projects/sit-web-cache/. /app +COPY . /app/ +RUN ls -l + +RUN npm run build # EXPOSE PORT 3000 EXPOSE 3000
diff --git a/projects/sit-web-cache/README.md b/projects/sit-web-cache/README.md index 21fddc8..5b2a835 100644 --- a/projects/sit-web-cache/README.md +++ b/projects/sit-web-cache/README.md
@@ -16,6 +16,7 @@ $ npm run start:dev # production mode +# $ npm run build (muss vor prod gelaufen sein) $ npm run start:prod ```