Skip to content

Commit

Permalink
Make docker build
Browse files Browse the repository at this point in the history
Requires Node 16 but current LTS is 18
  • Loading branch information
Oscariremma committed Nov 5, 2023
1 parent 7f2a4f2 commit e707875
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts as build
FROM node:16 as build

COPY package.json package-lock.json ./
COPY ./prisma/ .
Expand All @@ -7,7 +7,7 @@ RUN npm install
COPY . .
RUN npm run build

FROM node:lts
FROM node:16

COPY --from=build ./build ./build/
COPY --from=build ./src/schemas ./build/schemas
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts as build
FROM node:16 as build

COPY package.json package-lock.json ./

Expand Down

0 comments on commit e707875

Please sign in to comment.