From 10f30eaf126327d763b8fbacc6779784abc00754 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Thu, 16 Jan 2020 01:05:01 +0100 Subject: [PATCH] deployment --- Dockerfile | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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": {