Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
static-ci
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
jimi.ji
7 years ago
Commit
5e02130c6b19fe8e740e0cdb509eae9a4de5e085
1 parent
af94e91c
add docker
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
Dockerfile
Dockerfile
View file @
5e02130
...
...
@@ -15,15 +15,22 @@ ENV NODE_ENV production
ENV NODE_HOME /home/static-ci
RUN mkdir -p "$NODE_HOME"
#RUN set -x \
# && yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel -y \
# && yum install git-core
WORKDIR $NODE_HOME
COPY static-ci.tar.gz "$(NODE_HOME)"
COPY static-ci.tar.gz /home/static-ci/
RUN set -x \
&& mkdir -p /Data/logs/node/static-ci \
&& tar -xzvf static-ci.tar.gz -C "$NODE_HOME" \
&& rm -rf static-ci.tar.gz
#expose port
EXPOSE 6006
...
...
Please
register
or
login
to post a comment