|
|
|
|
@ -20,7 +20,7 @@ RUN pnpm run build
|
|
|
|
|
|
|
|
|
|
FROM nginx:1.25-alpine AS runtime
|
|
|
|
|
|
|
|
|
|
ENV BACKEND_UPSTREAM=http://fastapiadmin-backend:8011
|
|
|
|
|
ENV BACKEND_UPSTREAM=http://fastapi_server:8011
|
|
|
|
|
|
|
|
|
|
COPY nginx/default.conf.template /etc/nginx/templates/default.conf.template
|
|
|
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
|
|
|
|