Skip to content

Commit

Permalink
Update to next 15 (#22)
Browse files Browse the repository at this point in the history
* Update to next 15

* Update docker image
  • Loading branch information
Serubin committed Dec 24, 2024
1 parent b6b0ddc commit 84ce422
Show file tree
Hide file tree
Showing 4 changed files with 1,201 additions and 493 deletions.
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
FROM node:21-alpine3.18 as deps
FROM node:21-alpine as deps

RUN apk update && \
apk add --no-cache libc6-compat autoconf automake libtool make tiff jpeg zlib zlib-dev pkgconf nasm file gcc musl-dev

# COPY package.json .

RUN npm install -g npm

ENV NEXT_TELEMETRY_DISABLED 1
ENV PORT 80

Expand All @@ -15,7 +11,7 @@ WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install

FROM node:lts-alpine3.14
FROM node:21-alpine
ENV NEXT_TELEMETRY_DISABLED 1
ENV NODE_ENV production
ENV PORT 80
Expand All @@ -29,4 +25,3 @@ COPY --from=deps /app/node_modules ./node_modules
RUN yarn build

CMD [ "yarn", "start", "-p", "80"]

2 changes: 1 addition & 1 deletion app/resume/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Metadata, NextPage } from 'next';
import type { Resume as ResumeType } from '../../../resume/lib/types';
import getStaticContent from '../../lib/contentData';
import Resume from '../../../resume/components/resume';
import Resume from '../../resume/components/resume';

type Props = {
resume: ResumeType;
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
"@types/react-dom": "^19.0.2",
"framer-motion": "^11.15.0",
"js-yaml": "^4.1.0",
"next": "^14.2.21",
"react": "^19.0.0",
"react-dom": "^19.0.0"
"next": "^15.1.2",
"react": "^19.0.0-rc.1",
"react-dom": "^19.0.0-rc.1"
},
"devDependencies": {
"@types/js-yaml": "^4.0.3",
"@types/node": "^18.0.0",
"@types/react": "^19.0.2",
"eslint": "7.32.0",
"eslint-config-next": "^14.2.21",
"eslint-config-next": "^15.1.2",
"sass": "^1.41.1",
"typescript": "^4.7.4"
}
Expand Down
Loading

0 comments on commit 84ce422

Please sign in to comment.