mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
Removed main Dockerfile
This commit is contained in:
parent
8f41654f55
commit
6b5cb291aa
22
Dockerfile
22
Dockerfile
@ -1,22 +0,0 @@
|
||||
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
|
||||
|
@ -1,3 +1,6 @@
|
||||
//
|
||||
// commons-server connection
|
||||
//
|
||||
export const serviceScheme = process.env.SERVICE_SCHEME || 'http'
|
||||
export const serviceHost = process.env.SERVICE_HOST || 'localhost'
|
||||
export const servicePort = process.env.SERVICE_PORT || 4000
|
||||
|
Loading…
Reference in New Issue
Block a user