-
Notifications
You must be signed in to change notification settings - Fork 49
/
Dockerfile
27 lines (22 loc) · 1.34 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM node:12.19.0-alpine
RUN apk add --no-cache git bash curl
WORKDIR /app
# copy all package json files
COPY ./package.json /app/package.json
COPY ./packages/erc3k/package.json /app/packages/erc3k/package.json
COPY ./packages/govern/package.json /app/packages/govern/package.json
COPY ./packages/govern-console/package.json /app/packages/govern-console/package.json
COPY ./packages/govern-contract-utils/package.json /app/packages/govern-contract-utils/package.json
COPY ./packages/govern-core/package.json /app/packages/govern-core/package.json
COPY ./packages/govern-create/package.json /app/packages/govern-create/package.json
COPY ./packages/govern-discord/package.json /app/packages/govern-discord/package.json
COPY ./packages/govern-server/package.json /app/packages/govern-server/package.json
COPY ./packages/govern-subgraph/package.json /app/packages/govern-subgraph/package.json
COPY ./packages/govern-token/package.json /app/packages/govern-token/package.json
# install dependencies
COPY ./yarn.lock /app/yarn.lock
RUN yarn install --frozen-lockfile
# try building the app
COPY . .
RUN yarn build:contracts
CMD echo specify one of the package.json scripts in command line