From 3ee5459349b1b3baa2e3eaaaf00cc37e9e7a0a42 Mon Sep 17 00:00:00 2001 From: n-y-kim Date: Fri, 15 Mar 2024 06:55:01 +0900 Subject: [PATCH] Update app dockerfile base image --- app/Dockerfile | 7 ++----- manifest/app.yaml | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/app/Dockerfile b/app/Dockerfile index 13e8039e..5259ab59 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -1,7 +1,4 @@ -FROM node:14 - -# Install Python 3.10 -RUN apt-get update && apt-get install -y python3.10 +FROM nikolaik/python-nodejs:python3.10-nodejs21 # Set the working directory WORKDIR /app @@ -16,4 +13,4 @@ RUN cd frontend && npm install && cd .. RUN cd backend && python3 -m pip install -r requirements.txt && cd .. # Start your application -CMD [ "source" "start.sh" ] \ No newline at end of file +CMD [ "source" "start-prod.sh" ] \ No newline at end of file diff --git a/manifest/app.yaml b/manifest/app.yaml index 618c2b92..a8a3d3d7 100644 --- a/manifest/app.yaml +++ b/manifest/app.yaml @@ -21,6 +21,6 @@ spec: "beta.kubernetes.io/os": linux containers: - name: chatbot-app-container - image: .azurecr.io/chatbot-app:v1 + image: test05Acrcmgqyd.azurecr.io/cloudclub/chatbot-app:v1 ports: - containerPort: 80 \ No newline at end of file