fix: container: bin name
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2024-07-11 02:58:50 +05:30
parent 1b276ec4e8
commit c06feaf790
Signed by: realaravinth
GPG key ID: F8F50389936984FF

View file

@ -20,11 +20,11 @@ RUN cargo build --release
FROM debian:latest FROM debian:latest
RUN apt-get update && apt-get install -y libssl-dev ca-certificates RUN apt-get update && apt-get install -y libssl-dev ca-certificates
RUN useradd -ms /bin/bash forgeflux RUN useradd -ms /bin/bash vanikam
#RUN mkdir -p /var/www/forgeflux && chown forgeflux /var/www/forgeflux #RUN mkdir -p /var/www/vanikam && chown vanikam /var/www/vanikam
RUN apt-get update && apt-get install -y ca-certificates RUN apt-get update && apt-get install -y ca-certificates
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh RUN chmod +x /usr/local/bin/entrypoint.sh
COPY --from=rust /src/target/release/forgeflux /usr/local/bin/ COPY --from=rust /src/target/release/vanikam /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]