File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM oven/bun:1 AS base
33WORKDIR /opt/netignite/app
44
55COPY . .
6- COPY ./config/config.sample.json /opt /netignite/config /config.sample.json
6+ COPY ./config/config.sample.json /etc /netignite/config.sample.json
77
88RUN bun install --production
99RUN bun run build
@@ -24,5 +24,6 @@ EXPOSE 18232/tcp
2424ENV NITRO_ENV=production
2525ENV NITRO_HOST=0.0.0.0
2626ENV NITRO_PORT=18232
27+ ENV NETIGNITE_SAMPLE_CONFIG_PATH=/etc/netignite/config.sample.json
2728
2829CMD [ "bun" , "run" , "./app/server/index.mjs" ]
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export interface ConfigLike {
1010export class ConfigHandler {
1111
1212 private static readonly configFilePath = process . env . CONFIG_FILE_PATH || './config/config.json' ;
13- private static readonly sampleConfigFilePath = './config/config.sample.json' ;
13+ private static readonly sampleConfigFilePath = process . env . NETIGNITE_SAMPLE_CONFIG_PATH || './config/config.sample.json' ;
1414
1515 private static config : ConfigLike | null = null ;
1616
You can’t perform that action at this time.
0 commit comments