Skip to content

Commit

Permalink
Fix docker build failure due to missing pip3
Browse files Browse the repository at this point in the history
  • Loading branch information
pi.docker committed Apr 10, 2021
1 parent 6f2b4ec commit c136cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:latest
WORKDIR /emqtt
COPY emqtt.py requirements.txt ./
RUN apk add --no-cache python3 && pip3 install -r requirements.txt
RUN apk add --no-cache python3 py3-pip && pip3 install -r requirements.txt
EXPOSE 1025
CMD ["python3", "emqtt.py"]

0 comments on commit c136cae

Please sign in to comment.