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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
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
nanahira
srvpro
Commits
042f874c
Commit
042f874c
authored
Jan 29, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker
parent
c7ffc71f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
4 deletions
+23
-4
.gitignore
.gitignore
+0
-4
.gitmodules
.gitmodules
+4
-0
Dockerfile
Dockerfile
+18
-0
ygopro
ygopro
+1
-0
No files found.
.gitignore
View file @
042f874c
# ignore
test*
/ygocore/
/ygocore
/ygopro/
/ygopro
node_modules/.bin/
node_modules/bunyan/
...
...
.gitmodules
0 → 100644
View file @
042f874c
[submodule "ygopro"]
path = ygopro
url = https://github.com/mycard/ygopro.git
branch = server
Dockerfile
0 → 100644
View file @
042f874c
FROM
node
RUN
apt-get update
RUN
apt-get
install
-y
git build-essential premake4 libfreetype6-dev libevent-dev libsqlite3-dev liblua5.2-dev libglu-dev libirrlicht-dev
RUN
mkdir
-p
/usr/src/app
WORKDIR
/usr/src/app
COPY
package.json /usr/src/app/
RUN
npm
install
COPY
. /usr/src/app
WORKDIR
/usr/src/app/ygopro
RUN
premake4
--os
=
linux
--platform
=
x64 gmake
RUN
ln
-s
/usr/lib/x86_64-linux-gnu/liblua5.2.so /usr/lib/liblua.so
WORKDIR
/usr/src/app/build
RUN
make
config
=
release ygopro
RUN
ln
-s
../bin/release/ygopro ../ygopro
RUN
strip ../ygopro
WORKDIR
/usr/src/app
CMD
[ "npm", "start" ]
ygopro
@
4a26e0cf
Subproject commit 4a26e0cf02506663bf9b53f88437dffc448c0989
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