UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
lovasoa
wbo
Commits
05404567
Commit
05404567
authored
Jun 22, 2021
by
Vickie Shen
Browse files
testing
parent
3593415f
Pipeline
#330833
passed with stages
in 23 minutes and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
Dockerfile
Dockerfile
+4
-6
renovate.json
renovate.json
+1
-1
No files found.
Dockerfile
View file @
05404567
...
@@ -12,29 +12,27 @@ COPY --from=base /opt/app /opt/app
...
@@ -12,29 +12,27 @@ COPY --from=base /opt/app /opt/app
COPY
--from=base /usr/local/lib/node_modules /usr/local/lib/node_modules
COPY
--from=base /usr/local/lib/node_modules /usr/local/lib/node_modules
COPY
scripts/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
COPY
scripts/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
COPY
scripts/server.js /opt/app/server/server.js
COPY
scripts/server.js /opt/app/server/server.js
# COPY statsd-client-0.4.7.tgz /opt/app
WORKDIR
/opt/app
WORKDIR
/opt/app
RUN
dnf upgrade
-y
&&
\
RUN
dnf upgrade
-y
&&
\
dnf
install
npm
-y
&&
\
dnf
install
npm
-y
&&
\
# npm install statsd-client-0.4.7.tgz &&
\
# rm statsd-client-0.4.7.tgz &&
\
npm
install
--production
&&
\
npm
install
--production
&&
\
dnf
-y
remove npm
&&
\
dnf
-y
remove npm
&&
\
dnf clean all
&&
\
dnf clean all
&&
\
rm
-rf
/var/cache/dnf
&&
\
rm
-rf
/var/cache/dnf
&&
\
chown
-R
node:node /opt/app
&&
\
chown
-R
node:node /opt/app
&&
\
chmod
-R
g-s /usr/local/lib/
&&
\
chmod
775 /usr/local/bin/docker-entrypoint.sh
chmod
775 /usr/local/bin/docker-entrypoint.sh
USER
node:node
USER
node:node
ENV
PORT=80
ENV
PORT=80
80
EXPOSE
80
EXPOSE
80
80
VOLUME
/opt/app/server-data
VOLUME
/opt/app/server-data
HEALTHCHECK
--start-period=5s --timeout=5s CMD curl -fs http://127.0.0.1:80/ || exit 1
HEALTHCHECK
--start-period=5s --timeout=5s CMD curl -fs http://127.0.0.1:80
80
/ || exit 1
ENTRYPOINT
["docker-entrypoint.sh"]
ENTRYPOINT
["docker-entrypoint.sh"]
...
...
renovate.json
View file @
05404567
...
@@ -17,6 +17,6 @@
...
@@ -17,6 +17,6 @@
],
],
"depNameTemplate"
:
"lovasoa/wbo"
,
"depNameTemplate"
:
"lovasoa/wbo"
,
"datasourceTemplate"
:
"docker"
"datasourceTemplate"
:
"docker"
}
,
}
]
]
}
}
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