mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-23 16:31:01 +00:00
Добавил в Docker Gradle wrapper, изменил коммит фронтенда
This commit is contained in:
parent
7908552cf6
commit
8f4889c9e2
@ -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
|
||||
|
||||
|
||||
2
frontend
2
frontend
@ -1 +1 @@
|
||||
Subproject commit b8c21d3a8620725c9212a63930744109ed95552c
|
||||
Subproject commit b89fad9502212c78ea3514854ff56a7f87ecfdb1
|
||||
Loading…
Reference in New Issue
Block a user