message: move target directory creation to second stage o docker build
diff: @@ -7,8 +7,6 @@ RUN \
  sleep 1 && \
  ./mvnw package -Pprod -DskipTests && \
  mv /code/target/*.war /jhipster-registry.war && \
  - mkdir /target && \
  - chmod g+rwx /target && \
  rm -Rf /code/ /root/.m2 /root/.cache /tmp/*
  FROM openjdk:8-jre-alpine
  @@ -18,4 +16,6 @@ ENV SPRING_OUTPUT_ANSI_ENABLED=ALWAYS \
  GIT_SEARCH_PATHS=central-config
  EXPOSE 8761
  COPY --from=builder /jhipster-registry.war .
  +RUN mkdir /target && \
  + chmod g+rwx /target
  CMD ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/jhipster-registry.war","--spring.cloud.config.server.git.uri=${GIT_URI}","--spring.cloud.config.server.git.search-paths=${GIT_SEARCH_PATHS}"]
  