Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Feb 11, 2025
1 parent 41da732 commit 3e057cb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run_install: false

- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install

- name: 🛠️ Build
run: pnpm run build
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@ FROM node:22.13.1-alpine AS build
ARG NUXT_PRIVATE_GITHUB_TOKEN
ENV NUXT_PRIVATE_GITHUB_TOKEN=$NUXT_PRIVATE_GITHUB_TOKEN

RUN apk add --no-cache python3 make g++
RUN corepack enable && corepack prepare pnpm@latest --activate

WORKDIR /app

COPY pnpm-lock.yaml package.json ./
RUN corepack enable

COPY . .
COPY package.json pnpm-lock.yaml .npmrc ./

RUN corepack enable
RUN pnpm install --frozen-lockfile --prod
RUN pnpm install

COPY . .

RUN pnpm run build

Expand Down
2 changes: 1 addition & 1 deletion app/components/content/Notes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ async function verifyPassword() {
<input v-model="password" type="password" placeholder="Password" class="input">
<MButton class="flex items-center cursor-pointer justify-center gap-2 bg-accent hover:bg-accent/90 px-2 text-white" type="submit" rounded="none" label="Verify" :loading />
</form>
<List v-if="isAuthorized && notes" :data="notes" />
<List v-if="isAuthorized && notes" :posts="notes" />
</div>
</template>
1 change: 0 additions & 1 deletion docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ services:
- NUXT_PRIVATE_RESEND_API_KEY=${NUXT_PRIVATE_RESEND_API_KEY}
- NUXT_PRIVATE_NOTES_PASSWORD=${NUXT_PRIVATE_NOTES_PASSWORD}
- NUXT_PRIVATE_GITHUB_TOKEN=${NUXT_PRIVATE_GITHUB_TOKEN}
- NUXT_PUBLIC_MEETING_LINK=${NUXT_PUBLIC_MEETING_LINK}
ports:
- "3000:3000"
healthcheck:
Expand Down

0 comments on commit 3e057cb

Please sign in to comment.