Skip to content

Commit

Permalink
fix: copy tailwind config in during frontend build
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertRosca committed Sep 24, 2024
1 parent d54820a commit f4e96f3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ RUN corepack enable

WORKDIR /app

COPY ./package.json ./pnpm-lock.yaml ./
COPY --link ./package.json ./pnpm-lock.yaml ./tailwind.config.js ./

RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile

COPY ./src/zulip_write_only_proxy/frontend/**.html \
./src/zulip_write_only_proxy/frontend/**.css \
./src/zulip_write_only_proxy/frontend
COPY ./src/zulip_write_only_proxy/frontend/templates/ \
./src/zulip_write_only_proxy/frontend/templates/

RUN pnpm build

Expand Down

0 comments on commit f4e96f3

Please sign in to comment.