1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
commons/Dockerfile
2019-04-05 11:53:02 +02:00

23 lines
363 B
Docker

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 npm install
RUN bash scripts/install.sh
RUN bash scripts/build.sh
ENTRYPOINT ["serve", "-s", "build"]
# Expose listen port
EXPOSE 4000