Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ENV PATH="$PNPM_HOME/bin:$PATH"

RUN npm install -g turbo
RUN npm install -g corepack@latest
RUN npm install -g corepack@0.34.7
RUN corepack enable pnpm

WORKDIR /app
Expand Down Expand Up @@ -59,7 +59,7 @@

ENV NODE_ENV=production
ENV HOSTNAME=0.0.0.0
ENV AUTH_TRUST_HOST=true

Check warning on line 62 in apps/api/Dockerfile

View workflow job for this annotation

GitHub Actions / build / build

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "AUTH_TRUST_HOST") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ENV PORT=8081

WORKDIR /app/apps/api/dist/src/
Expand Down
4 changes: 2 additions & 2 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ FROM node:${NODE_VERSION}-alpine AS base
RUN apk add --no-cache libc6-compat python3 make g++

ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
ENV PATH="$PNPM_HOME/bin:$PNPM_HOME:$PATH"

RUN npm install -g turbo serve
RUN npm install -g corepack@latest
RUN npm install -g corepack@0.34.7
RUN corepack enable pnpm

WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions packages/db/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ WORKDIR /app
RUN apk add --no-cache libc6-compat python3 make g++

ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
ENV PATH="$PNPM_HOME/bin:$PNPM_HOME:$PATH"

RUN npm install -g turbo
RUN npm install -g corepack@latest
RUN npm install -g corepack@0.34.7
RUN corepack enable pnpm

COPY .gitignore .gitignore
Expand Down
Loading