This repository was archived by the owner on Dec 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3f3262
commit be87331
Showing
2 changed files
with
63 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@echo off | ||
|
||
@echo Run this from inside your Diablo 2 classic folder! | ||
|
||
CALL docker pull joffreybesos/d2-mapserver:latest | ||
CALL docker rmi joffreybesos/d2-mapserver:include | ||
|
||
CALL del /f/q Dockerfile.lod.dockerfile | ||
@echo If it can't find the Dockerfile.lod.dockerfile then that's ok | ||
@echo FROM joffreybesos/d2-mapserver:latest >> Dockerfile.lod.dockerfile | ||
@echo COPY . /app/game/ >> Dockerfile.lod.dockerfile | ||
@echo CMD ["node", "build/server/server.js"] >> Dockerfile.lod.dockerfile | ||
CALL md cache | ||
CALL docker build -f Dockerfile.lod.dockerfile . -t joffreybesos/d2-mapserver:include | ||
CALL docker run -v "cache:/app/cache" -p 3002:3002 -e PORT=3002 joffreybesos/d2-mapserver:include | ||
|