Skip to content

Commit d3ed8c4

Browse files
committed
fix: copy src folder into Docker image
1 parent 3c5c678 commit d3ed8c4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ARG NODE_ENV
1010

1111
EXPOSE 5000
1212

13-
COPY package.json yarn.lock /app/
13+
COPY package.json yarn.lock src/ /app/
1414

1515
WORKDIR /app/
1616

src/server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const {
1818
DB_PORT,
1919
DB_DATABASE,
2020
PORT,
21+
DISABLE_PG_SIMPLIFY_INFLECTOR
2122
} = process.env
2223

2324
const DATABASE_URL = `postgres://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_DATABASE}`
@@ -29,7 +30,7 @@ const plugins = [
2930
paginationLimitsPlugin,
3031
]
3132

32-
if (!process.env.DISABLE_PG_SIMPLIFY_INFLECTOR) {
33+
if (!DISABLE_PG_SIMPLIFY_INFLECTOR) {
3334
plugins.push(PgSimplifyInflectorPlugin.default)
3435
}
3536

0 commit comments

Comments
 (0)