Skip to content

Commit

Permalink
Add basic dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzuraw committed May 17, 2024
1 parent 4b9f4d2 commit 54060ce
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:20-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable

COPY . .

RUN pnpm install --global turbo

RUN turbo prune app-avatax --docker

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

# RUN pnpm dev --filter=app-avatax
CMD ["pnpm", "dev", "--filter=app-avatax"]

0 comments on commit 54060ce

Please sign in to comment.