diff --git a/backend/Dockerfile b/backend/Dockerfile index 7bf7dc768..0fd8cb4a7 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -21,15 +21,17 @@ RUN apk update && apk upgrade && apk add --no-cache --virtual builds-deps build- RUN apk add jq -# There is an issue with alpine 18 and pip. https://github.com/nodejs/docker-node/issues/2010 -# The following 2 sections were added to fix the issue. +RUN apk add --no-cache aws-cli -# Install python framework along with its dependency packages -RUN apk add g++ make python3 py3-pip +# RUN python3 -m pip install awscli -# Create a virtual environment and install required packages -RUN python3 -m venv ~/pyvenv --system-site-packages -RUN ~/pyvenv/bin/pip3 install awscli +# # Install python framework along with its dependency packages +# RUN apk add g++ make python3 py3-pip + +# # Create a virtual environment and install required packages +# RUN python3 -m venv ~/pyvenv --system-site-packages +# RUN +# RUN ~/pyvenv/bin/pip3 install awscli RUN aws configure set default.region ap-southeast-1