Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
histhub
linker
Commits
fc3b3fe1
Commit
fc3b3fe1
authored
Jun 11, 2019
by
Tobias Steiner
Browse files
Upodate dockerfile
parent
89de54ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
fc3b3fe1
FROM
node:
8-alpine
FROM
node:
10-slim
# add basic libs
RUN
ap
k
--no-cache
add
\
RUN
ap
t-get update
&&
apt-get
install
-y
\
bash
\
g++
\
gcc
\
ca-certificates
\
lz4-dev
\
musl-dev
\
cyrus-sasl-dev
\
openssl-dev
\
make
\
python
\
bash
\
git
RUN
apk add
--no-cache
--virtual
.build-deps gcc zlib-dev libc-dev bsd-compat-headers py-setuptools libexecinfo libexecinfo-dev
# Create app directory
RUN
mkdir
-p
/usr/local/app
...
...
@@ -33,4 +28,4 @@ RUN npm install
RUN
npm run build
# run app
CMD
node dist/index.js
\ No newline at end of file
CMD
node dist/index.js
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