Skip to content

Commit

Permalink
fix: pnpm global (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmbanan666 authored Feb 5, 2025
1 parent a05781b commit aae1c7f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions apps/website/app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</div>
</div>

<div class="wagon-block">
<div class="wagon-block w-full">
<div class="wagon my-0 mx-auto w-fit text-center">
<img src="~/assets/img/wagon-full.png" alt="">
</div>
Expand Down Expand Up @@ -256,7 +256,6 @@ const shopProducts = [

<style scoped>
.wagon-block {
width: 100%;
margin: 2em 0;
padding: 4em 0;
background-image: url(~/assets/img/background-green.webp);
Expand Down
10 changes: 3 additions & 7 deletions docker/telegram-game/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
FROM node:22.13.1-alpine AS builder

WORKDIR /app

ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable

COPY ./ ./

RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm build --filter @chat-game/telegram-game
RUN npm install -g pnpm \
&& pnpm i --frozen-lockfile --ignore-scripts \
&& pnpm build --filter @chat-game/telegram-game

FROM nginx:stable-alpine

Expand Down
2 changes: 1 addition & 1 deletion docker/website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY ./prisma ./prisma
COPY ./packages ./packages
COPY ./apps/website ./apps/website

RUN corepack enable pnpm \
RUN npm install -g pnpm \
&& pnpm i --frozen-lockfile --ignore-scripts \
&& pnpm build --filter @chat-game/website

Expand Down

0 comments on commit aae1c7f

Please sign in to comment.