Добавил в Docker Gradle wrapper, изменил коммит фронтенда

This commit is contained in:
saber-nyan 2019-11-21 01:01:30 +03:00
parent 7908552cf6
commit 8f4889c9e2
No known key found for this signature in database
GPG Key ID: 7B069E9C295E6B4A
2 changed files with 6 additions and 5 deletions

View File

@ -1,18 +1,19 @@
FROM openjdk:8-jdk-alpine
RUN apk add gradle libpcap npm
RUN apk add libpcap npm
COPY ./ /app/
WORKDIR /app/frontend
WORKDIR /app/frontend/
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/
RUN gradle --no-daemon build
RUN ./gradlew --no-daemon build
RUN cp build/libs/packmate-*.jar app.jar

@ -1 +1 @@
Subproject commit b8c21d3a8620725c9212a63930744109ed95552c
Subproject commit b89fad9502212c78ea3514854ff56a7f87ecfdb1