We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c5c678 commit d3ed8c4Copy full SHA for d3ed8c4
Dockerfile
@@ -10,7 +10,7 @@ ARG NODE_ENV
10
11
EXPOSE 5000
12
13
-COPY package.json yarn.lock /app/
+COPY package.json yarn.lock src/ /app/
14
15
WORKDIR /app/
16
src/server.js
@@ -18,6 +18,7 @@ const {
18
DB_PORT,
19
DB_DATABASE,
20
PORT,
21
+ DISABLE_PG_SIMPLIFY_INFLECTOR
22
} = process.env
23
24
const DATABASE_URL = `postgres://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_DATABASE}`
@@ -29,7 +30,7 @@ const plugins = [
29
30
paginationLimitsPlugin,
31
]
32
-if (!process.env.DISABLE_PG_SIMPLIFY_INFLECTOR) {
33
+if (!DISABLE_PG_SIMPLIFY_INFLECTOR) {
34
plugins.push(PgSimplifyInflectorPlugin.default)
35
}
36
0 commit comments