fix: cleanup

This commit is contained in:
2022-08-27 12:41:10 +02:00
parent 90f2b53d1c
commit 26aecd3264
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ dev_trivy:
- trivy --version
# cache cleanup is needed when scanning images with the same tags, it does not remove the database
- time trivy image --clear-cache
- trivy image --clear-cache $IMAGE_TAG
- trivy image $IMAGE_TAG
only:
- master
+2
View File
@@ -17,4 +17,6 @@ RUN cd /usr/share/vnctalk-hybrid-authenticator2 && yarn install
#RUN npm install /usr/share/vnctalk-hybrid-authenticator2/app
RUN apk del nodejs-dev gcc libc-dev g++ libpq-dev python3 libxmlb-dev
ENTRYPOINT ["pm2-runtime", "/usr/share/vnctalk-hybrid-authenticator2/app/app.js"]