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
|
FROM node:lts-alpine
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
WORKDIR /usr/src/app
|
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 ../
|
RUN npm install --production --silent && mv node_modules ../
|
||||||
COPY . .
|
COPY . .
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
@ -10,7 +10,7 @@ EXPOSE 3000
|
|||||||
RUN npx next telemetry disable
|
RUN npx next telemetry disable
|
||||||
|
|
||||||
# Build the app
|
# Build the app
|
||||||
RUN npm run build
|
#RUN npm run build
|
||||||
|
|
||||||
# Setup permissions
|
# Setup permissions
|
||||||
RUN chown -R node /usr/src/app
|
RUN chown -R node /usr/src/app
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next build && next start",
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user