Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
方斌
51business
Commits
22f7fb47
Commit
22f7fb47
authored
Sep 29, 2020
by
杨必疆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Dockerfile
parent
290d9e6b
Pipeline
#28596
passed with stage
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Dockerfile
Dockerfile
+7
-7
No files found.
Dockerfile
View file @
22f7fb47
FROM
t-docker.51gjj.com/tools/node:12.18.2
FROM
t-docker.51gjj.com/tools/node:12.18.2
ENV
LANG C.UTF-8
ENV
LANG C.UTF-8
ENV
NODE_ENV production
ENV
NODE_ENV production
ENV
PATH $PATH:/usr/local/node/bin/
ENV
PATH $PATH:/usr/local/node/bin/
RUN
mkdir
-p
/usr/src/app
RUN
mkdir
-p
/usr/src/app
#RUN yum -y install dotnet-sdk-3.1
WORKDIR
/usr/src/app
WORKDIR
/usr/src/app
COPY
package.json /usr/src/app/
COPY
package.json /usr/src/app/
#RUN yarn config set registry "https://registry.npm.taobao.org/"
RUN
yarn config
set
registry
"https://registry.npm.taobao.org/"
RUN
npm config
set
registry http://47.99.80.175:8081/repository/npm-group/
RUN
yarn
install
RUN
npm
install
gcc
COPY
. /usr/src/app
RUN
ls
EXPOSE
7001
RUN
pwd
CMD
[ "yarn", "docker" ]
\ No newline at end of file
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