diff --git a/Dockerfile b/Dockerfile index b6dcc0b..adeea6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,6 @@ COPY package.json . COPY yarn.lock . RUN yarn -VOLUME .next - COPY . ./ RUN yarn run build diff --git a/package.json b/package.json index 2d929b0..29904ef 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "scripts": { "dev": "next -p 80", - "build": "rm -rf .next && next build && rm -rf .next/cache", + "build": "next build", "start": "next start -p 80" }, "dependencies": {