This repository has been archived on 2026-05-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
minecraft-server-ironveil/Dockerfile
T
zardzul 5f3f59b7ae
Build and Publish Docker Image / build (push) Successful in 2m14s
Deploy to Production / deploy-to-production (push) Failing after 24s
attemped fix
2026-02-13 11:28:21 +01:00

25 lines
552 B
Docker

# Use an official OpenJDK 17 image
FROM eclipse-temurin:17-jdk
# Set working directory
WORKDIR /server
# Copy modpack files
COPY modpack/ /server/
# Copy configuration files
COPY configuration/ /server/
# 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
# Expose the default Minecraft port (25565)
EXPOSE 25565
# Expose the default Minecraft RCON port (25575)
EXPOSE 25575
# Start the server using run.sh
ENTRYPOINT ["./run.sh"]