Skip to content

Commit

Permalink
1.0.2 fix arm x86 build
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseklm committed Oct 26, 2024
1 parent ec2f588 commit 7b11a71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ WORKDIR /usr/src/app

COPY . .

RUN pip install --no-cache-dir --prefer-binary -r requirements.txt
RUN apk --no-cache add --virtual build-deps build-base && \
pip install --no-cache-dir --prefer-binary -r requirements.txt && \
apk del build-deps

CMD [ "python", "./service.py" ]

0 comments on commit 7b11a71

Please sign in to comment.