Toggle navigation
Toggle navigation
This project
Loading...
Sign in
LI WENHAO
/
TFT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hellowhales
2021-11-08 19:13:06 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
00a94a51671bb289d64c542b076e67b91953355a
00a94a51
1 parent
55d31710
Add Dockerfile
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
Dockerfile
gitignore
Dockerfile
0 → 100644
View file @
00a94a5
FROM
node:14
LABEL title="TFT-Webserver"
LABEL version="1.01"
# set working directory
WORKDIR
/app
# install modules and dependencies
COPY package*.json ./
RUN
npm install
# copy source codes
COPY ./ ./
# port-forward
EXPOSE
8484
#start application
CMD
[ "npm", "start" ]
\ No newline at end of file
gitignore
0 → 100644
View file @
00a94a5
.DS_Store
thumbs.db
*.log
node_modules/
\ No newline at end of file
Please
register
or
login
to post a comment