Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Seismic
Seismic DMS Suite
seismic-dms-service
Commits
62624ad7
Commit
62624ad7
authored
Nov 10, 2021
by
Rishabh Singh
Browse files
build: Update runtime.Dockerfile to specify python version.
parent
b6a6473c
Pipeline
#76356
passed with stages
in 7 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docker/runtime.Dockerfile
View file @
62624ad7
...
@@ -23,7 +23,7 @@ FROM node:${docker_node_image_version} as runtime-builder
...
@@ -23,7 +23,7 @@ FROM node:${docker_node_image_version} as runtime-builder
ADD
./ /service
ADD
./ /service
WORKDIR
/service
WORKDIR
/service
RUN
apk
--no-cache
add
--virtual
native-deps g++ gcc libgcc libstdc++ linux-headers make python
\
RUN
apk
--no-cache
add
--virtual
native-deps g++ gcc libgcc libstdc++ linux-headers make python
2
\
&&
npm
install
--quiet
node-gyp
-g
\
&&
npm
install
--quiet
node-gyp
-g
\
&&
npm
install
--quiet
\
&&
npm
install
--quiet
\
&&
npm run build
\
&&
npm run build
\
...
@@ -39,7 +39,7 @@ FROM node:${docker_node_image_version} as release
...
@@ -39,7 +39,7 @@ FROM node:${docker_node_image_version} as release
COPY
--from=runtime-builder /service/artifact /seistore-service
COPY
--from=runtime-builder /service/artifact /seistore-service
WORKDIR
/seistore-service
WORKDIR
/seistore-service
RUN
apk
--no-cache
add
--virtual
native-deps g++ gcc libgcc libstdc++ linux-headers make python
\
RUN
apk
--no-cache
add
--virtual
native-deps g++ gcc libgcc libstdc++ linux-headers make python
2
\
&&
addgroup appgroup
\
&&
addgroup appgroup
\
&&
adduser
--disabled-password
--gecos
--shell
appuser
--ingroup
appgroup
\
&&
adduser
--disabled-password
--gecos
--shell
appuser
--ingroup
appgroup
\
&&
chown
-R
appuser:appgroup /seistore-service
\
&&
chown
-R
appuser:appgroup /seistore-service
\
...
@@ -48,4 +48,4 @@ RUN apk --no-cache add --virtual native-deps g++ gcc libgcc libstdc++ linux-head
...
@@ -48,4 +48,4 @@ RUN apk --no-cache add --virtual native-deps g++ gcc libgcc libstdc++ linux-head
&&
npm
install
--production
--quiet
\
&&
npm
install
--production
--quiet
\
&&
apk del native-deps
&&
apk del native-deps
ENTRYPOINT
["node", "./dist/server/server-start.js"]
ENTRYPOINT
["node", "./dist/server/server-start.js"]
\ No newline at end of file
Write
Preview
Supports
Markdown
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