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 WORKDIR /app
COPY . . COPY . .
RUN pnpm install && pnpm run build RUN pnpm install && pnpm run generate
FROM nginx:stable-alpine 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 EXPOSE 80

View File

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