fulfillment: add python3, copy fulfillment.py into image
This commit is contained in:
parent
8d26895b08
commit
dc7f8fcd7e
1 changed files with 4 additions and 5 deletions
|
|
@ -4,12 +4,12 @@ FROM eclipse-temurin:21-jdk
|
||||||
|
|
||||||
LABEL version="5.5"
|
LABEL version="5.5"
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y curl unzip jq python3 && \
|
||||||
RUN apt-get update && apt-get install -y curl unzip jq && \
|
|
||||||
adduser --uid 99 --gid 100 --home /data --disabled-password minecraft
|
adduser --uid 99 --gid 100 --home /data --disabled-password minecraft
|
||||||
|
|
||||||
COPY launch.sh /launch.sh
|
COPY launch.sh /launch.sh
|
||||||
RUN chmod +x /launch.sh
|
COPY fulfillment.py /fulfillment.py
|
||||||
|
RUN chmod +x /launch.sh /fulfillment.py
|
||||||
|
|
||||||
USER minecraft
|
USER minecraft
|
||||||
|
|
||||||
|
|
@ -19,4 +19,3 @@ WORKDIR /data
|
||||||
EXPOSE 25565/tcp
|
EXPOSE 25565/tcp
|
||||||
|
|
||||||
CMD ["/launch.sh"]
|
CMD ["/launch.sh"]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue