ci: fix docker nuxt generate folder

This commit is contained in:
YunYouJun
2023-07-30 05:35:51 +08:00
parent 0224e78669
commit 7fd788a29b
2 changed files with 4 additions and 4 deletions

View File

@@ -6,8 +6,8 @@ RUN npm install -g pnpm
WORKDIR /app
COPY . .
RUN pnpm install && pnpm run build
RUN pnpm install && pnpm run generate
FROM nginx:stable-alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY --from=builder /app/.output/public /usr/share/nginx/html
EXPOSE 80

View File

@@ -3,8 +3,8 @@ const rStore = useRecipeStore()
</script>
<template>
<div>
<div text-4xl m="t-4">
<div pt-4>
<div text-4xl>
<button
class="cursor-pointer transition active:text-green-800 hover:(text-green-600)"
title="重置"