lets hope this works

This commit is contained in:
Jannik Reimers 2025-04-03 16:13:21 +02:00
parent ad82dbd409
commit f8881deb66
Signed by: jansel
GPG key ID: 39C62D7D5233CFD0
5 changed files with 39 additions and 8 deletions

View file

@ -13,17 +13,17 @@ VOLUME [ "/bot/data" ]
VOLUME [ "/bot/plugins" ]
# Copy the distribution files into the container
COPY [ "build/distributions/template-1.0-SNAPSHOT.tar", "/dist" ]
COPY [ "build/distributions/aglaea-7.2.7.tar", "/dist" ]
# Extract the distribution files, and prepare them for use
RUN tar -xf /dist/template-1.0-SNAPSHOT.tar -C /dist/out
RUN chmod +x /dist/out/template-1.0-SNAPSHOT/bin/template
RUN tar -xf /dist/aglaea-7.2.7.tar -C /dist/out
RUN chmod +x /dist/out/aglaea-7.2.7/bin/aglaea
# Clean up unnecessary files
RUN rm /dist/template-1.0-SNAPSHOT.tar
RUN rm /dist/aglaea-7.2.7.tar
# Set the correct working directory
WORKDIR /bot
# Run the distribution start script
ENTRYPOINT [ "/dist/out/template-1.0-SNAPSHOT/bin/template" ]
ENTRYPOINT [ "/dist/out/aglaea-7.2.7/bin/aglaea" ]