generated from Fascinated/nextjs-13-template-with-tailwindcss
fix config?
This commit is contained in:
parent
1840426f79
commit
fa84e5edf7
@ -1,7 +1,7 @@
|
||||
FROM node:lts-alpine
|
||||
ENV NODE_ENV=production
|
||||
WORKDIR /usr/src/app
|
||||
COPY ["config.json", "package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
|
||||
COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
|
||||
RUN npm install --production --silent && mv node_modules ../
|
||||
COPY . .
|
||||
EXPOSE 3000
|
||||
@ -10,7 +10,7 @@ EXPOSE 3000
|
||||
RUN npx next telemetry disable
|
||||
|
||||
# Build the app
|
||||
RUN npm run build
|
||||
#RUN npm run build
|
||||
|
||||
# Setup permissions
|
||||
RUN chown -R node /usr/src/app
|
||||
|
@ -5,7 +5,7 @@
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"start": "next build && next start",
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user