Skip to content

Commit

Permalink
Update app dockerfile base image
Browse files Browse the repository at this point in the history
  • Loading branch information
n-y-kim committed Mar 14, 2024
1 parent 908f8ae commit 3ee5459
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions app/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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" ]
CMD [ "source" "start-prod.sh" ]
2 changes: 1 addition & 1 deletion manifest/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ spec:
"beta.kubernetes.io/os": linux
containers:
- name: chatbot-app-container
image: <registryName>.azurecr.io/chatbot-app:v1
image: test05Acrcmgqyd.azurecr.io/cloudclub/chatbot-app:v1
ports:
- containerPort: 80

0 comments on commit 3ee5459

Please sign in to comment.