mirror of
https://github.com/Quackster/Havana.git
synced 2025-07-01 20:27:47 +00:00
Update Dockerfile-Web to stop copying everything
This commit is contained in:
parent
0743296172
commit
b58da0db2a
2 changed files with 8 additions and 2 deletions
|
@ -4,7 +4,7 @@ WORKDIR /sources
|
|||
COPY ./gradle /sources/gradle
|
||||
COPY ./gradlew /sources
|
||||
COPY ./figuredata.xml /sources
|
||||
COPY ./tools/docker /sources/tools/docker
|
||||
COPY ./tools/docker/server-entrypoint.sh /sources/tools/docker/server-entrypoint.sh
|
||||
COPY ./Havana-Server/ /sources/Havana-Server
|
||||
COPY ./settings.gradle /sources
|
||||
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
FROM eclipse-temurin:17-jdk AS builder
|
||||
|
||||
WORKDIR /sources
|
||||
COPY . /sources
|
||||
COPY ./gradle /sources/gradle
|
||||
COPY ./gradlew /sources
|
||||
COPY ./figuredata.xml /sources
|
||||
COPY ./tools/docker/web-entrypoint.sh /sources/tools/docker/web-entrypoint.sh
|
||||
COPY ./Havana-Server/ /sources/Havana-Server
|
||||
COPY ./Havana-Web/ /sources/Havana-Web
|
||||
COPY ./settings.gradle /sources
|
||||
|
||||
RUN ./gradlew build
|
||||
RUN cd Havana-Web/build/distributions && tar xf Havana-Web.tar
|
||||
|
|
Loading…
Add table
Reference in a new issue