Skip to content

Commit 64ce8b9

Browse files
committed
Update config.ts to use bracket notation for environment variables
1 parent ad0e5ce commit 64ce8b9

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ ENV PATH="$PNPM_HOME:$PATH"
44
RUN corepack enable
55
WORKDIR /home/node
66
COPY package.json pnpm-lock.yaml ./
7-
RUN pnpm install --ignore-scripts --frozen-lockfile --no-optional --prod
7+
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --ignore-scripts --frozen-lockfile --no-optional --prod
88

99
FROM base AS builder
10-
RUN pnpm install --ignore-scripts --frozen-lockfile --no-optional
10+
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --ignore-scripts --frozen-lockfile --no-optional
1111
COPY ./src ./src
1212
COPY tsconfig.json ./
1313
RUN pnpm run build

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"koa-bodyparser": "4.4.1",
2828
"koa-compress": "5.1.1",
2929
"koa-helmet": "8.0.1",
30+
"pg": "8.16.3",
3031
"postgraphile": "4.14.1"
3132
},
3233
"// build": "Dependencies required to build the project",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)