Skip to content

Commit

Permalink
add docker dev packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo committed Oct 27, 2023
1 parent a9932aa commit 9f52a9d
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 6 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ COPY packages/hostScripts/package.json \
packages/hostScripts/
COPY packages/db/package.json \
packages/db/
COPY packages/manifest/package.json \
packages/manifest/
COPY packages/ipfs/package.json \
packages/ipfs/
COPY packages/installer/package.json \
packages/installer/
COPY packages/ethicalMetrics/package.json \
packages/ethicalMetrics/
COPY packages/httpsPortal/package.json \
packages/httpsPortal/
RUN yarn --frozen-lockfile --non-interactive --ignore-optional

# Build order must be as follows:
Expand Down
46 changes: 40 additions & 6 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ COPY packages/hostScripts/package.json \
packages/hostScripts/
COPY packages/db/package.json \
packages/db/
COPY packages/manifest/package.json \
packages/manifest/
COPY packages/ipfs/package.json \
packages/ipfs/
COPY packages/installer/package.json \
packages/installer/
COPY packages/ethicalMetrics/package.json \
packages/ethicalMetrics/
COPY packages/httpsPortal/package.json \
packages/httpsPortal/
RUN yarn --frozen-lockfile --non-interactive --ignore-optional

# Build params
Expand All @@ -78,6 +88,12 @@ COPY packages/params/ .
RUN yarn build
# Results in dist/*

# Build ethicalmetrics
WORKDIR /app/packages/ethicalMetrics/
COPY packages/ethicalMetrics/ .
RUN yarn build
# Results in dist/*

# Build common
WORKDIR /app/packages/common/
COPY packages/common/ .
Expand All @@ -96,36 +112,54 @@ COPY packages/eventBus/ .
RUN yarn build
# Results in dist/*

# Build dockerCompose
WORKDIR /app/packages/dockerCompose/
COPY packages/dockerCompose/ .
RUN yarn build
# Results in dist/*

# Build logger
WORKDIR /app/packages/logger/
COPY packages/logger/ .
RUN yarn build
# Results in dist/*

# Build dockerCompose
WORKDIR /app/packages/dockerCompose/
COPY packages/dockerCompose/ .
RUN yarn build
# Results in dist/*

# Build hostScripts
WORKDIR /app/packages/hostScripts/
COPY packages/hostScripts/ .
RUN yarn build
# Results in dist/*

# Build manifest
WORKDIR /app/packages/manifest/
COPY packages/manifest/ .
RUN yarn build
# Results in dist/*

# Build dockerApi
WORKDIR /app/packages/dockerApi/
COPY packages/dockerApi/ .
RUN yarn build
# Results in dist/*

# Build httpsportal
WORKDIR /app/packages/httpsPortal/
COPY packages/httpsPortal/ .
RUN yarn build
# Results in dist/*

# Build db
WORKDIR /app/packages/db/
COPY packages/db/ .
RUN yarn build
# Results in dist/*

# Build ipfs
WORKDIR /app/packages/ipfs/
COPY packages/ipfs/ .
RUN yarn build
# Results in dist/*

# Build dappmanager
WORKDIR /app/packages/dappmanager/
COPY packages/dappmanager/ .
Expand Down

0 comments on commit 9f52a9d

Please sign in to comment.