From 22aa86bf6785926fd64bd09b1bd81f24113fd48f Mon Sep 17 00:00:00 2001 From: Rub21 Date: Thu, 30 Jan 2025 06:55:17 -0500 Subject: [PATCH] Update init container name --- images/osmcha-web/Dockerfile | 6 ++---- osm-seed/templates/osmcha-app/deployment.yaml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/images/osmcha-web/Dockerfile b/images/osmcha-web/Dockerfile index d8390979..dffdb2ee 100644 --- a/images/osmcha-web/Dockerfile +++ b/images/osmcha-web/Dockerfile @@ -11,7 +11,5 @@ RUN git clone https://github.com/osmus/osmcha-frontend.git /app RUN git checkout $GITSHA RUN yarn install RUN yarn build:prod -# COPY start.sh . -# CMD [ "/app/start.sh" ] - - +COPY start.sh . +CMD [ "/app/start.sh" ] diff --git a/osm-seed/templates/osmcha-app/deployment.yaml b/osm-seed/templates/osmcha-app/deployment.yaml index 30a08640..4ff87e0e 100644 --- a/osm-seed/templates/osmcha-app/deployment.yaml +++ b/osm-seed/templates/osmcha-app/deployment.yaml @@ -31,7 +31,7 @@ spec: volumeMounts: - name: nginx-assets mountPath: /assets - - name: init + - name: migrations image: "{{ .Values.osmchaApi.image.name }}:{{ .Values.osmchaApi.image.tag }}" command: - /bin/sh