diff --git a/Qpid-UI/Dockerfile b/Qpid-UI/Dockerfile new file mode 100644 index 0000000..16d7a28 --- /dev/null +++ b/Qpid-UI/Dockerfile @@ -0,0 +1,10 @@ +FROM node:20-alpine AS builder +WORKDIR /app +COPY . . + +RUN npm ci && npm run build + +FROM nginx:alpine +COPY --from=builder /app/dist /usr/share/nginx/html +EXPOSE 80 +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/Qpid-UI/src/components/Likes.vue b/Qpid-UI/src/components/Likes.vue index 0db9d06..5135140 100644 --- a/Qpid-UI/src/components/Likes.vue +++ b/Qpid-UI/src/components/Likes.vue @@ -1,72 +1,43 @@ @@ -89,11 +60,15 @@ const displayUsers = computed(() => { -
{{ user.name }}
-{{ user.bio }}
+{{ user.displayName || user.username }}
+{{ user.bio || '自己紹介文はまだありません。' }}