Skip to content

Commit

Permalink
Merge pull request #311 from softwareconstruction240/fix-git-header-bug
Browse files Browse the repository at this point in the history
Fix git header bug
  • Loading branch information
pawlh authored Apr 13, 2024
2 parents 132faac + 641dfd7 commit 3f9c31e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ RUN apt-get update && \
npm install -g yarn

### install frontend dependencies
COPY ./src/main/resources/frontend/package.json ./src/main/resources/frontend/yarn.lock /app/src/main/resources/frontend/
COPY ./src/main/resources/frontend/package.json ./src/main/resources/frontend/yarn.lock ./src/main/resources/frontend/

RUN cd src/main/resources/frontend && \
yarn

### install backend dependencies
COPY ./pom.xml /app
COPY ./pom.xml .

RUN mvn dependency:go-offline

### build frontend
COPY ./src/main/resources/frontend /app/src/main/resources/frontend
COPY ./src/main/resources/frontend ./src/main/resources/frontend

RUN cd src/main/resources/frontend && \
yarn build

### build backend
COPY . /app
COPY ./src .

RUN mvn clean package -DskipTests

Expand Down

0 comments on commit 3f9c31e

Please sign in to comment.