mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
Fixing build
This commit is contained in:
parent
9f3ce99b5c
commit
2413b8f021
@ -4,7 +4,7 @@ FROM node:alpine AS deps
|
|||||||
RUN apk add --no-cache libc6-compat
|
RUN apk add --no-cache libc6-compat
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
RUN yarn install --frozen-lockfile
|
RUN yarn install
|
||||||
|
|
||||||
# Rebuild the source code only when needed
|
# Rebuild the source code only when needed
|
||||||
FROM node:alpine AS builder
|
FROM node:alpine AS builder
|
||||||
@ -42,4 +42,4 @@ EXPOSE 3000
|
|||||||
# Uncomment the following line in case you want to disable telemetry.
|
# Uncomment the following line in case you want to disable telemetry.
|
||||||
# ENV NEXT_TELEMETRY_DISABLED 1
|
# ENV NEXT_TELEMETRY_DISABLED 1
|
||||||
|
|
||||||
CMD ["yarn", "start"]
|
CMD ["yarn", "start"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user