1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
commons/admin/Dockerfile

26 lines
419 B
Docker
Raw Normal View History

2019-07-05 10:58:12 +02:00
FROM node:11-alpine
LABEL maintainer="Ocean Protocol <devops@oceanprotocol.com>"
RUN apk add --no-cache --update\
bash\
g++\
gcc\
git\
gettext\
make\
python
COPY . /app/admin
WORKDIR /app/admin
RUN npm install -g npm serve
RUN npm install
RUN npm run build
# Default ENV values
ENV LISTEN_ADDRESS='0.0.0.0'
ENV LISTEN_PORT='3000'
ENTRYPOINT ["/app/admin/scripts/docker-entrypoint.sh"]