lets hope this works
This commit is contained in:
parent
ad82dbd409
commit
f8881deb66
5 changed files with 39 additions and 8 deletions
10
Dockerfile
10
Dockerfile
|
@ -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" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue