File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 240240 <shared >true</shared >
241241 </configuration >
242242 </plugin >
243-
244- <plugin >
243+ <plugin >
245244 <groupId >io.fabric8</groupId >
246245 <artifactId >docker-maven-plugin</artifactId >
247246 <version >0.46.0</version >
248- <configuration >
247+ <configuration >
249248 <verbose >true</verbose >
250249 <images >
251250 <image >
252251 <name >evolvedbinary/bbl-validator:%v</name >
253- <alias >evolvedbinary/bbl-validator</alias >
254252 <build >
255253 <dockerFile >${project.build.outputDirectory} /Dockerfile</dockerFile >
256254 <assembly >
262260 <destName >bbl-validator-${project.version} .jar</destName >
263261 </file >
264262 </files >
265- <fileSets >
266- <fileSet >
267- <directory >${project.basedir} /src/main/resources/schemas</directory >
268- <outputDirectory >schemas</outputDirectory >
269- <includes >
270- <include >**/*</include >
271- </includes >
272- </fileSet >
273- </fileSets >
274- </inline >
263+ </inline >
275264 </assembly >
276265 </build >
277266 </image >
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ WORKDIR /app
1414
1515# Copy the JAR file and schemas from build
1616COPY maven/bbl-validator-${project.version}.jar /app/app.jar
17- COPY maven/schemas /app/schemas
1817
1918# Change ownership to non-root user
19+ RUN mkdir /app/schemas
2020RUN chown -R appuser:appgroup /app
2121
2222# Switch to non-root user
You can’t perform that action at this time.
0 commit comments