Skip to content

Commit

Permalink
Merge pull request #12 from Dans-Plugins/docker/sync-dockerfiles-and-…
Browse files Browse the repository at this point in the history
…allow-plugin-overrides

Plugin Overrides
  • Loading branch information
dmccoystephenson authored Feb 25, 2024
2 parents 289862f + dadb279 commit cbc418b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile.dynmap
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ RUN cp /dynmap-build/dynmap/target/Dynmap-*.jar /jars
COPY ./post-create.sh /post-create.sh
RUN chmod +x /post-create.sh

# Copy config directory
COPY ./config /config

# Run server
WORKDIR /dpcmcserver
EXPOSE 25565
Expand Down
Empty file.
3 changes: 3 additions & 0 deletions post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ else
echo "Server is already set up."
fi

echo "Copying file overrides..."
cp /deposit-box/plugin-overrides/*.jar /dpcmcserver/plugins

java -jar /dpcmcserver/spigot-1.20.4.jar

0 comments on commit cbc418b

Please sign in to comment.