mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
Added dockerfile
This commit is contained in:
parent
a5d6245519
commit
280b6e649f
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@ -0,0 +1,21 @@
|
||||
FROM node:10-alpine
|
||||
LABEL maintainer="Ocean Protocol <devops@oceanprotocol.com>"
|
||||
|
||||
RUN apk add --no-cache --update\
|
||||
alpine-sdk\
|
||||
bash\
|
||||
git\
|
||||
python
|
||||
|
||||
COPY . /commons
|
||||
WORKDIR /commons
|
||||
|
||||
RUN npm install -g serve
|
||||
RUN bash scripts/install.sh
|
||||
RUN bash scripts/build.sh
|
||||
|
||||
ENTRYPOINT ["/pleuston/scripts/docker-entrypoint.sh"]
|
||||
|
||||
# Expose listen port
|
||||
EXPOSE 4000
|
||||
|
Loading…
Reference in New Issue
Block a user