Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
BjoernAtBosch committed Jun 8, 2023
1 parent a730ee9 commit 54249b8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/seat-adjuster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ FROM --platform=$TARGETPLATFORM python:3.10-slim-bullseye@sha256:1ee6094f44c6778
RUN apt-get update && apt-get install -y binutils

COPY ./app /app
COPY ./gen/vehicle_model /vehicle_model

# Remove this installation for Arm64 once staticx has a prebuilt wheel for Arm64
RUN /bin/bash -c 'set -ex && \
Expand All @@ -31,11 +32,12 @@ RUN /bin/bash -c 'set -ex && \
fi'

RUN apt-get install -y git
RUN pip3 install --no-cache-dir pyinstaller \
RUN pip3 install --no-cache-dir pyinstaller==5.9.0 \
&& pip3 install --no-cache-dir patchelf==0.17.0.0 \
&& pip3 install --no-cache-dir staticx \
&& pip3 install --no-cache-dir -r ./app/requirements.txt \
&& pip3 install --no-cache-dir -r ./app/requirements-links.txt
&& pip3 install --no-cache-dir -r ./app/requirements-links.txt \
&& pip3 install --no-cache-dir /vehicle_model

WORKDIR /app

Expand Down

0 comments on commit 54249b8

Please sign in to comment.