generated from Fascinated/nextjs-13-template-with-tailwindcss
another attempt at making it smaller
Some checks failed
Publish Docker Image / docker (push) Failing after 19s
Some checks failed
Publish Docker Image / docker (push) Failing after 19s
This commit is contained in:
parent
e321ce1cb4
commit
56ebc94673
10
Dockerfile
10
Dockerfile
@ -9,15 +9,15 @@ COPY package.json ./
|
||||
COPY package-lock.json ./
|
||||
RUN npm ci --production --silent && npm cache clean --force
|
||||
|
||||
# Copy the rest of the files
|
||||
COPY . .
|
||||
# Copy only necessary files for production
|
||||
COPY .next ./.next
|
||||
COPY public ./public
|
||||
COPY config.json ./
|
||||
COPY next.config.js ./
|
||||
|
||||
# Opt out of Next.js telemetry
|
||||
RUN npx next telemetry disable
|
||||
|
||||
# Build the app
|
||||
#RUN npm run build
|
||||
|
||||
# Expose port 3000
|
||||
EXPOSE 3000
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user