Skip to content

Commit

Permalink
Fix casing in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Aug 4, 2024
1 parent dd5b78a commit 1944a43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ ENV NODE_OPTIONS=--openssl-legacy-provider
# I dont know why, but when doing npm install in this Dockerfile, methone just gets cloned but there
# is no dist directory, which makes the build fail since there is nothing in methone to import.
# Also: cd:ing into node_modules/methone and running `npm i && npm run build` doesn't.
FROM base as methone-builder
FROM base AS methone-builder

RUN apk add git
RUN git clone https://github.com/datasektionen/methone .
RUN npm i
RUN npm run build

FROM base as builder
FROM base AS builder

RUN apk add git
COPY package.json package-lock.json ./
Expand Down

0 comments on commit 1944a43

Please sign in to comment.