We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be274d commit df68260Copy full SHA for df68260
client/Dockerfile
@@ -2,10 +2,10 @@ FROM public.ecr.aws/amazonlinux/amazonlinux:latest
2
RUN yum install -y amazon-linux-extras wget
3
RUN amazon-linux-extras install python3
4
RUN pip3 install pip --upgrade
5
-WORKDIR /home
6
-ADD ./requirements.txt ./
7
-RUN wget -O AmazonRootCA1.pem https://www.amazontrust.com/repository/AmazonRootCA1.pem
8
-RUN pip3 install -r requirements.txt
+RUN wget -O /home/AmazonRootCA1.pem https://www.amazontrust.com/repository/AmazonRootCA1.pem
+ADD ./requirements.txt /home
+RUN pip3 install -r /home/requirements.txt
9
ADD . /home
10
EXPOSE 5000
+WORKDIR /home
11
CMD python3 iot_client.py
0 commit comments