i guess this is minimalism
This commit is contained in:
parent
de79908ed5
commit
fd3e8e3ba1
@ -6,7 +6,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
|
|
||||||
RUN yarn install --frozen-lockfile
|
RUN yarn install --production --frozen-lockfile
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
# COPY ./src/app/favicon.ico ./public/favicon.ico
|
# COPY ./src/app/favicon.ico ./public/favicon.ico
|
||||||
@ -24,13 +24,7 @@ ENV NODE_ENV production
|
|||||||
|
|
||||||
USER nextjs
|
USER nextjs
|
||||||
|
|
||||||
COPY --from=builder /app/public ./public
|
|
||||||
COPY --from=builder /app/.next/standalone ./
|
COPY --from=builder /app/.next/standalone ./
|
||||||
COPY --from=builder /app/.next/static ./.next/static
|
|
||||||
COPY --from=builder /app/package.json ./package.json
|
|
||||||
COPY --from=builder /app/yarn.lock ./yarn.lock
|
|
||||||
|
|
||||||
RUN yarn install --production --frozen-lockfile
|
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user