make dockerfile prettier
Build and Publish Docker Image / build (push) Failing after 1m28s
Deploy to Production / deploy-to-production (push) Failing after 11s

This commit is contained in:
zardzul
2026-02-13 11:37:25 +01:00
parent 5f3f59b7ae
commit ec45109bf0
+4 -5
View File
@@ -5,14 +5,13 @@ FROM eclipse-temurin:17-jdk
WORKDIR /server
# Copy modpack files
COPY modpack/ /server/
COPY modpack/. .
# Copy configuration files
COPY configuration/ /server/
COPY configuration/. .
# Make run.sh executable (check if it exists first)
RUN if [ -f run.sh ]; then chmod +x run.sh; fi && \
if [ -f /server/run.sh ]; then chmod +x /server/run.sh; fi
RUN chmod +x run.sh
# Expose the default Minecraft port (25565)
EXPOSE 25565
@@ -21,4 +20,4 @@ EXPOSE 25565
EXPOSE 25575
# Start the server using run.sh
ENTRYPOINT ["./run.sh"]
ENTRYPOINT ["/server/run.sh"]