Добавил в Docker Gradle wrapper, изменил коммит фронтенда
This commit is contained in:
@@ -1,18 +1,19 @@
|
|||||||
FROM openjdk:8-jdk-alpine
|
FROM openjdk:8-jdk-alpine
|
||||||
|
|
||||||
RUN apk add gradle libpcap npm
|
RUN apk add libpcap npm
|
||||||
|
|
||||||
COPY ./ /app/
|
COPY ./ /app/
|
||||||
|
|
||||||
WORKDIR /app/frontend
|
WORKDIR /app/frontend/
|
||||||
|
|
||||||
RUN npm install && npm run build
|
RUN npm install && npm run build
|
||||||
|
|
||||||
RUN cp -rf ./dist/* ../src/main/resources/static/
|
RUN mkdir -p ../src/main/resources/static/ \
|
||||||
|
&& cp -rf ./dist/* ../src/main/resources/static/
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
RUN gradle --no-daemon build
|
RUN ./gradlew --no-daemon build
|
||||||
|
|
||||||
RUN cp build/libs/packmate-*.jar app.jar
|
RUN cp build/libs/packmate-*.jar app.jar
|
||||||
|
|
||||||
|
|||||||
2
frontend
2
frontend
Submodule frontend updated: b8c21d3a86...b89fad9502
Reference in New Issue
Block a user