Skip to content

Commit

Permalink
clean dockerfile (#16)
Browse files Browse the repository at this point in the history
clean dockerfile
  • Loading branch information
icrc-fdeniger authored Nov 22, 2024
1 parent 370712e commit 335a066
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ RUN --mount=type=cache,target=/usr/share/maven/ref/repository --mount=type=secre
-Dmaven.repo.local=/usr/share/maven/ref/repository \
clean install

RUN cp /openmrs_distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/

RUN cp ./target/sdk-distro/web/openmrs-distro.properties /openmrs/distribution/
RUN cp -R ./target/sdk-distro/web/modules /openmrs/distribution/openmrs_modules
RUN cp -R ./target/sdk-distro/web/owa /openmrs/distribution/openmrs_owas
RUN cp -R ./target/openmrs_config /openmrs/distribution/openmrs_config
RUN cp /openmrs_distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/ \
&& cp ./target/sdk-distro/web/openmrs-distro.properties /openmrs/distribution/ \
&& cp -R ./target/sdk-distro/web/modules /openmrs/distribution/openmrs_modules \
&& cp -R ./target/sdk-distro/web/owa /openmrs/distribution/openmrs_owas \
&& cp -R ./target/openmrs_config /openmrs/distribution/openmrs_config


### Run Stage
Expand Down

0 comments on commit 335a066

Please sign in to comment.