added build stage
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 4m58s
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 4m58s
This commit is contained in:
@@ -15,12 +15,15 @@ COPY package.json yarn.lock ./
|
|||||||
# Install app dependencies
|
# Install app dependencies
|
||||||
RUN yarn install --immutable
|
RUN yarn install --immutable
|
||||||
|
|
||||||
|
FROM base AS build
|
||||||
# Type check app
|
# Type check app
|
||||||
# RUN yarn typecheck
|
# RUN yarn typecheck
|
||||||
|
|
||||||
# Bundle app source
|
# Bundle app source
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN yarn build
|
||||||
|
|
||||||
|
|
||||||
FROM base AS runner
|
FROM base AS runner
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user