Skip to content

Commit

Permalink
Fixes building docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Mar 30, 2024
1 parent dfeb0dd commit 6c71c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG BRANCH=master
RUN git clone -b $BRANCH $REPOSITORY /app

# Build JS files
FROM node:20-alpine as frontend
FROM node:21-alpine as frontend
COPY --from=git /app /app
WORKDIR /app

Expand All @@ -16,7 +16,7 @@ ENV VITE_APP_MODE=production

RUN sed -i "s/\"version\": \".*\"/\"version\": \"${APP_VERSION}\"/" package.json

RUN npm install
RUN npm install --ignore-scripts
RUN npm run generate
RUN rm -rf node_modules

Expand Down

0 comments on commit 6c71c24

Please sign in to comment.