diff --git a/Dockerfile b/Dockerfile index e8642d02..c78a07fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,20 +14,20 @@ RUN dotnet publish \ --output=/bin \ /app/FHIR/src/Microsoft.Health.Fhir.Anonymizer.R4.CommandLineTool -FROM python:3.10 AS cumulus-etl +FROM python:3.10 AS cumulus-etl-test COPY --from=ms-tool /bin/Microsoft.Health.Fhir.Anonymizer.R4.CommandLineTool /bin COPY . /app RUN --mount=type=cache,target=/root/.cache \ - pip3 install /app + pip3 install /app/[tests] RUN rm -r /app ENTRYPOINT ["cumulus-etl"] -FROM python:3.10 AS cumulus-etl-test +FROM python:3.10 AS cumulus-etl COPY --from=ms-tool /bin/Microsoft.Health.Fhir.Anonymizer.R4.CommandLineTool /bin COPY . /app RUN --mount=type=cache,target=/root/.cache \ - pip3 install /app/[tests] + pip3 install /app RUN rm -r /app ENTRYPOINT ["cumulus-etl"]