Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
srvpro
Commits
15eaf6fa
Commit
15eaf6fa
authored
Jun 26, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Dockerfile
parent
558ce98c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
Dockerfile
Dockerfile
+5
-7
No files found.
Dockerfile
View file @
15eaf6fa
...
@@ -16,14 +16,14 @@ RUN wget 'https://github.com/libevent/libevent/releases/download/release-2.0.22-
...
@@ -16,14 +16,14 @@ RUN wget 'https://github.com/libevent/libevent/releases/download/release-2.0.22-
make
&&
\
make
&&
\
make
install
&&
\
make
install
&&
\
cd
..
&&
\
cd
..
&&
\
bash
-c
'ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5;ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib/libevent_pthreads-2.0.so.5;ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5;ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib64/libevent_pthreads-2.0.so.5;exit 0'
bash
-c
'ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5;ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib/libevent_pthreads-2.0.so.5;ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5;ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib64/libevent_pthreads-2.0.so.5;exit 0'
&&
\
rm
-rf
/libevent-2.0.22-stable.tar.gz /libevent-2.0.22-stable
# srvpro
# srvpro
COPY
. /ygopro-server
COPY
. /ygopro-server
WORKDIR
/ygopro-server
WORKDIR
/ygopro-server
RUN
npm ci
&&
\
RUN
npm ci
&&
\
mkdir
config decks replays logs
&&
\
mkdir
config decks replays logs /redis
cp
data/default_config.json config/config.json
# ygopro
# ygopro
RUN
git clone
--branch
=
server
--recursive
https://github.com/moecube/ygopro /ygopro-server/ygopro
RUN
git clone
--branch
=
server
--recursive
https://github.com/moecube/ygopro /ygopro-server/ygopro
...
@@ -46,11 +46,9 @@ RUN xbuild /property:Configuration=Release /property:TargetFrameworkVersion="v4.
...
@@ -46,11 +46,9 @@ RUN xbuild /property:Configuration=Release /property:TargetFrameworkVersion="v4.
ln
-s
/ygopro-server/ygopro/cards.cdb .
ln
-s
/ygopro-server/ygopro/cards.cdb .
# infos
# infos
WORKDIR
/
WORKDIR
/ygopro-server
RUN
mkdir
/redis
EXPOSE
7911
EXPOSE
7911
EXPOSE
7922
EXPOSE
7922
VOLUME
/ygopro-server/config
VOLUME
[ /ygopro-server/config, /ygopro-server/decks, /ygopro-server/replays, /redis ]
VOLUME
/ygopro-server/ygopro/expansions
CMD
[ "pm2-docker", "start", "/ygopro-server/data/pm2-docker.json" ]
CMD
[ "pm2-docker", "start", "/ygopro-server/data/pm2-docker.json" ]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment