deployment

This commit is contained in:
cupcakearmy 2020-01-16 01:05:01 +01:00
parent 4ec8e9371d
commit 10f30eaf12
2 changed files with 1 additions and 3 deletions

View File

@ -6,8 +6,6 @@ COPY package.json .
COPY yarn.lock .
RUN yarn
VOLUME .next
COPY . ./
RUN yarn run build

View File

@ -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": {