Commit 2043ecdc authored by nanahira's avatar nanahira

fix config thing

parent db3ed846
Pipeline #14512 passed with stages
in 2 minutes and 45 seconds
...@@ -14,6 +14,7 @@ FROM base ...@@ -14,6 +14,7 @@ FROM base
ENV NODE_ENV production ENV NODE_ENV production
RUN npm ci && npm cache clean --force RUN npm ci && npm cache clean --force
COPY --from=builder /usr/src/app/dist ./dist COPY --from=builder /usr/src/app/dist ./dist
COPY ./config.example.yaml ./config.yaml
EXPOSE 3000 EXPOSE 3000
CMD [ "npm", "run", "start:prod" ] CMD [ "npm", "run", "start:prod" ]
...@@ -7,7 +7,6 @@ import { loadConfig } from './utility/config'; ...@@ -7,7 +7,6 @@ import { loadConfig } from './utility/config';
@Module({ @Module({
imports: [ imports: [
ConfigModule.forRoot({ ConfigModule.forRoot({
ignoreEnvVars: true,
load: [loadConfig], load: [loadConfig],
}), }),
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment