Improve apk usages in Dockerfile (#1198)
This commit is contained in:
parent
382a1343ea
commit
18f66805cb
4 changed files with 8 additions and 13 deletions
|
|
@ -1,6 +1,5 @@
|
|||
FROM node:18-alpine AS builder
|
||||
RUN apk add --no-cache libc6-compat
|
||||
RUN apk update
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
ENV NEXT_PUBLIC_API_BASE_URL=http://NEXT_PUBLIC_API_BASE_URL_PLACEHOLDER
|
||||
|
|
@ -14,7 +13,6 @@ RUN turbo prune --scope=app --docker
|
|||
FROM node:18-alpine AS installer
|
||||
|
||||
RUN apk add --no-cache libc6-compat
|
||||
RUN apk update
|
||||
WORKDIR /app
|
||||
ARG NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue