proof
Some checks failed
ci / build (push) Failing after 1m13s

This commit is contained in:
miwr 2025-04-15 14:26:39 +02:00
parent 7dbe962431
commit c21ffac4e0
2 changed files with 9 additions and 0 deletions

View file

@ -3,6 +3,11 @@ WORKDIR /app
COPY package*.json ./
RUN npm install --legacy-peer-deps # or yarn install
COPY . .
ARG IN_CLUSTER=true
RUN if [ "$IN_CLUSTER" = "true" ]; then \
cp src/environments/environment.cluster.ts src/environments/environment.ts; \
cp src/environments/environment.cluster.ts proof/environment.ts; \
fi
RUN npm run build --prod
FROM nginx:alpine

View file

@ -0,0 +1,4 @@
export const environment = {
production: true,
apiBaseUrl: 'http://silly-game-service.silly-game.svc.cluster.local'
};