diff --git a/docker/Dockerfile b/docker/Dockerfile index 4205cc1..838014b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -6,10 +6,6 @@ FROM debian RUN mkdir /src /app /tmp/src WORKDIR /tmp/src -## Copying compile script -COPY docker/flipper-dev.sh /bin/flipper-dev.sh -RUN chmod +x /bin/flipper-dev.sh - ## Installing Requisites RUN apt update -y RUN apt install -y wget curl build-essential @@ -22,5 +18,9 @@ RUN /tmp/rustup.sh -y ## Flipper-Zero Build Target RUN /root/.cargo/bin/rustup target add thumbv7em-none-eabihf +## Copying compile script +COPY docker/flipper-dev.sh /bin/flipper-dev.sh +RUN chmod +x /bin/flipper-dev.sh + # RUNTIME # CMD "/bin/flipper-dev.sh" \ No newline at end of file diff --git a/docker/flipper-dev.sh b/docker/flipper-dev.sh index fc0395e..6884a04 100644 --- a/docker/flipper-dev.sh +++ b/docker/flipper-dev.sh @@ -2,7 +2,7 @@ cp -r /src/* ./ # Building the Project -cargo build +/root/.cargo/bin/cargo build # Copy the .FAP file to the app directory cp ./target/thumbv7em-none-eabihf/debug/*.fap /app/ \ No newline at end of file