diff --git a/containerised/Dockerfile b/containerised/Dockerfile index 18e9953..0d99e80 100644 --- a/containerised/Dockerfile +++ b/containerised/Dockerfile @@ -31,7 +31,7 @@ WORKDIR /usr/src/oxker # Install target platform (Cross-Compilation) RUN rustup target add $(cat /.platform) -# This is a dummy build to get the dependencies cached +# This is a dummy build to get the dependencies cached - probably not needed - as run via a github action RUN cargo build --target $(cat /.platform) --release # Now copy in the rest of the sources @@ -55,5 +55,5 @@ FROM alpine:latest AS runtime COPY --from=builder /oxker /usr/local/bin COPY ./containerised/start_oxker.sh ./ -# Run the application +# Run the application, this is used in the application itself, to stop itself show when running from a docker container, so DO NOT EDIT ENTRYPOINT [ "./start_oxker.sh"] diff --git a/containerised/Dockerfile_dev b/containerised/Dockerfile_dev index f6f5148..cc13dc0 100644 --- a/containerised/Dockerfile_dev +++ b/containerised/Dockerfile_dev @@ -8,7 +8,7 @@ FROM alpine:latest AS runtime COPY ./target/x86_64-unknown-linux-musl/release/oxker /usr/local/bin COPY ./containerised/start_oxker.sh ./ -## Run the application +# Run the application, this is used in the application itself, to stop itself show when running from a docker container, so DO NOT EDIT ENTRYPOINT [ "./start_oxker.sh"] ## One liner to build musl program, build docker image, then execute the image