Signed-off-by: Nicholas Tan Jerome <nicholas.jerome@kit.edu>
@@ -2,8 +2,8 @@ FROM alpine:3.1
RUN apk add --update python py-pip
-COPY . /APP
-WORKDIR /APP
+COPY . /tmp
+WORKDIR /tmp
RUN pip install -r requirements.txt
EXPOSE 8001
@@ -4,5 +4,7 @@ services:
build: .
ports:
- "8001:8001"
+ volumes:
+ - /Users/ntj/Development/BORA/CPS:/tmp
redis:
image: "redis:alpine"
@@ -1,3 +1,3 @@
# This is a manual trigger to the CPS pod at the OpenShift platform.
# Only run this when the webhook is not working.
-curl -X POST -k https://kaas.kit.edu:8443/oapi/v1/namespaces/bora/buildconfigs/cps/webhooks/46b5d3683ec5f1db/generic
+curl -X POST -k https://kaas.kit.edu:8443/oapi/v1/namespaces/bora/buildconfigs/cps/webhooks/<SECRET>/generic