diff options
| author | soler_j <soler_j@etna-alternance.net> | 2025-04-29 03:57:44 +0200 | 
|---|---|---|
| committer | soler_j <soler_j@etna-alternance.net> | 2025-04-29 03:57:44 +0200 | 
| commit | 6ccd5f23c68bf6d8eb212e4c0cb3b887fff993a8 (patch) | |
| tree | 04ce0804bb914764751c5c5fc278282267368760 /Dockerfile | |
| parent | e3a3437f65b4470b8042a37ccd48f399b250a77b (diff) | |
Implement multiple code changes for optimization and refactoring
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 19 | 
1 files changed, 13 insertions, 6 deletions
@@ -55,17 +55,24 @@ FROM ubuntu:24.04  WORKDIR /app  # Install runtime deps -RUN apt-get update && apt-get install -y libssl3 zlib1g libopus0 && apt-get clean - +RUN apt-get update && apt-get install -y \ +    libssl3 \ +    zlib1g \ +    libopus0 \ +    libsodium23 \ +    libzmq5 \ +    && apt-get clean  # Copie des binaires -COPY --from=go-builder /api ./api -COPY --from=cpp-builder /src/build/discord-bot ./bot/build/discord-bot +COPY --from=go-builder /api/app ./app +COPY --from=cpp-builder /src/build/discord-bot ./discord-bot  COPY --from=cpp-builder /usr/local/lib/ /usr/local/lib/  # Make sure executables are runnable -RUN chmod +x ./api/app ./bot/build/discord-bot +RUN chmod +x ./app ./discord-bot  # Pour être sûr que libdpp.so soit trouvée  ENV LD_LIBRARY_PATH=/usr/local/lib -ENTRYPOINT ["./api/app"] +EXPOSE 2030 + +ENTRYPOINT ["./app"]  | 
