diff --git a/Dockerfile b/Dockerfile index bbce4baf3..1781522ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,8 +66,6 @@ RUN pnpm fetch COPY *.yaml *.json ./ COPY packages/commons-ui-core/package.json ./packages/commons-ui-core/package.json COPY packages/commons-ui-next/package.json ./packages/commons-ui-next/package.json -COPY packages/hurumap-core/package.json ./packages/hurumap-core/package.json -COPY packages/hurumap-next/package.json ./packages/hurumap-next/package.json # Next.js lints when doing production build COPY packages/eslint-config-commons-ui/package.json ./packages/eslint-config-commons-ui/package.json # TODO(kilemensi): Figure out why this is needed (charterafrica, codeforafrica) @@ -442,6 +440,8 @@ CMD ["node", "dist/server.js"] FROM base-deps as pesayetu-deps +COPY packages/hurumap-core/package.json ./packages/hurumap-core/package.json +COPY packages/hurumap-next/package.json ./packages/hurumap-next/package.json COPY apps/pesayetu/package.json ./apps/pesayetu/package.json # Use virtual store: https://pnpm.io/cli/fetch#usage-scenario @@ -618,6 +618,8 @@ CMD ["node", "apps/vpnmanager/server.js"] FROM base-deps as climatemappedafrica-deps + COPY packages/hurumap-core/package.json ./packages/hurumap-core/package.json + COPY packages/hurumap-next/package.json ./packages/hurumap-next/package.json COPY apps/climatemappedafrica/package.json ./apps/climatemappedafrica/package.json # Use virtual store: https://pnpm.io/cli/fetch#usage-scenario diff --git a/Makefile b/Makefile index 8947d374e..f0bc56697 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ codeforafrica: climatemappedafrica: $(COMPOSE_BUILD_ENV) $(COMPOSE) --env-file apps/climatemappedafrica/.env.local up climatemappedafrica --build + down: $(COMPOSE_BUILD_ENV) $(COMPOSE) down --volumes