Реорганизация файлов

This commit is contained in:
serega6531
2020-03-17 00:15:10 +03:00
parent 573142deeb
commit 658e3255eb
5 changed files with 4 additions and 4 deletions

20
docker/Dockerfile_app Normal file
View File

@@ -0,0 +1,20 @@
FROM openjdk:13-jdk-alpine
RUN apk add libpcap npm
COPY ./ /app/
WORKDIR /app/frontend/
RUN npm install && npm run build
RUN mkdir -p ../src/main/resources/static/ \
&& cp -rf ./dist/* ../src/main/resources/static/
WORKDIR /app/
RUN ./gradlew --no-daemon build
RUN cp build/libs/packmate-*.jar app.jar
EXPOSE 65000:65000