Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
maybeanerd committed Aug 28, 2024
1 parent c68e40c commit 2d2ef40
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

# instead of building, pull from current release
FROM curlimages/curl AS builder

WORKDIR /tmp

RUN curl https://github.com/magefree/mage/releases/download/xmage_1.4.53V1/mage-full_1.4.53-dev_2024-08-16_15-45.zip -L -o xmage.zip \
&& ls -la \
&& unzip -q xmage.zip -d xmage
Expand All @@ -37,11 +40,11 @@ WORKDIR /xmage
# COPY --from=builder /Utils/xmage-server .

# from release
COPY --from=builder xmage/xmage/mage-server .
COPY --from=builder tmp/xmage/xmage/mage-server /xmage/
COPY dockerContainerStart.sh /xmage/

RUN chmod +x \
/xmage/startServer.sh \
/xmage/dockerContainerStart.sh

CMD [ "./start.sh" ]
CMD [ "./dockerContainerStart.sh" ]

0 comments on commit 2d2ef40

Please sign in to comment.