From 74f6cbe40cb1d313f243edd14376600c70f4d2c2 Mon Sep 17 00:00:00 2001 From: lalithanagarur Date: Thu, 13 Feb 2025 14:05:00 +0000 Subject: [PATCH] added uat as env option to deploy to env --- .github/workflows/deploy_to_env.yml | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_to_env.yml b/.github/workflows/deploy_to_env.yml index 46411069..f966ca37 100644 --- a/.github/workflows/deploy_to_env.yml +++ b/.github/workflows/deploy_to_env.yml @@ -9,6 +9,7 @@ on: required: true options: - dev + - uat - preprod - prod default: 'dev' diff --git a/Dockerfile b/Dockerfile index 6359f59f..c5efa8be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ COPY --from=builder --chown=appuser:appgroup /app/build/libs/hmpps-learner-recor COPY --from=builder --chown=appuser:appgroup /app/build/libs/applicationinsights-agent*.jar /app/agent.jar COPY --from=builder --chown=appuser:appgroup /app/applicationinsights.json /app COPY --from=builder --chown=appuser:appgroup /app/applicationinsights.dev.json /app -#COPY WebServiceClientCert.pfx /app/WebServiceClientCert.pfx +COPY WebServiceClientCert.pfx /app/WebServiceClientCert.pfx USER 2000 ENTRYPOINT ["java", "-XX:+AlwaysActAsServerClassMachine", "-javaagent:/app/agent.jar", "-jar", "/app/app.jar"]