Adriano Freitas
11/27/2023, 5:00 PMnode --trace-warnings ... to show where the warning was created)
8,524 @medplum/core:build: fatal: not a git repository (or any of the parent directories): .git
8,528 @medplum/core:build: node:internal/errors:932
8,528 @medplum/core:build: const err = new Error(message);
8,528 @medplum/core:build: ^
8,528 @medplum/core:build:
8,528 @medplum/core:build: Error: Command failed: git rev-parse --short HEAD
8,528 @medplum/core:build: fatal: not a git repository (or any of the parent directories): .git
I'm creating a container for Postgres, for Redis, one for the App and another for the server, and I'm uploading it via Docker with the following dockerfile:
FROM node:21-slim
RUN apt-get update && apt-get install -y git
COPY . /usr/src/medplum
WORKDIR /usr/src/medplum
RUN npm ci
RUN npm run build
RUN chmod -R 777 /usr/src/medplum/packages/app/docker-entrypoint.sh
RUN chmod -R 777 /usr/src/medplum/packages/server/docker-entrypoint.sh
CMD["bash"]rahul1
11/27/2023, 5:45 PMAdriano Freitas
11/27/2023, 6:29 PM