Skip to content

Commit

Permalink
Merge pull request #312 from softwareconstruction240/revert-311-fix-g…
Browse files Browse the repository at this point in the history
…it-header-bug

Revert "Fix git header bug"
  • Loading branch information
pawlh authored Apr 13, 2024
2 parents 3f9c31e + b912e12 commit 31c073b
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 ./src/main/resources/frontend/
COPY ./src/main/resources/frontend/package.json ./src/main/resources/frontend/yarn.lock /app/src/main/resources/frontend/

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

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

RUN mvn dependency:go-offline

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

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

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

RUN mvn clean package -DskipTests

Expand Down

0 comments on commit 31c073b

Please sign in to comment.