1 Commits

Author SHA1 Message Date
zardzul ec45109bf0 make dockerfile prettier
Build and Publish Docker Image / build (push) Failing after 1m28s
Deploy to Production / deploy-to-production (push) Failing after 11s
2026-02-13 11:37:25 +01:00
+4 -5
View File
@@ -5,14 +5,13 @@ FROM eclipse-temurin:17-jdk
WORKDIR /server WORKDIR /server
# Copy modpack files # Copy modpack files
COPY modpack/ /server/ COPY modpack/. .
# Copy configuration files # Copy configuration files
COPY configuration/ /server/ COPY configuration/. .
# Make run.sh executable (check if it exists first) # Make run.sh executable (check if it exists first)
RUN if [ -f run.sh ]; then chmod +x run.sh; fi && \ RUN chmod +x run.sh
if [ -f /server/run.sh ]; then chmod +x /server/run.sh; fi
# Expose the default Minecraft port (25565) # Expose the default Minecraft port (25565)
EXPOSE 25565 EXPOSE 25565
@@ -21,4 +20,4 @@ EXPOSE 25565
EXPOSE 25575 EXPOSE 25575
# Start the server using run.sh # Start the server using run.sh
ENTRYPOINT ["./run.sh"] ENTRYPOINT ["/server/run.sh"]