123
This commit is contained in:
@ -15,6 +15,10 @@ RUN pnpm install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
|
||||
# API_URL нужен на этапе сборки: Next.js «запекает» rewrites в билд
|
||||
ARG API_URL=http://api:3125
|
||||
ENV API_URL=${API_URL}
|
||||
|
||||
RUN pnpm build --filter=@coursecraft/web...
|
||||
|
||||
EXPOSE 3080
|
||||
|
||||
Reference in New Issue
Block a user