File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ WORKDIR /usr/app
7
7
# Install node dependencies - done in a separate step so Docker can cache it.
8
8
COPY yarn.lock .
9
9
COPY package.json .
10
+ COPY .env.sample .
10
11
11
12
RUN yarn install --ignore-scripts --non-interactive --frozen-lockfile && yarn cache clean
12
13
@@ -28,6 +29,6 @@ RUN chown -R node: .
28
29
29
30
USER node
30
31
31
- RUN yarn install --ignore-scripts --non-interactive --frozen-lockfile --production && yarn cache clean
32
+ RUN yarn install --non-interactive --frozen-lockfile --production && yarn cache clean
32
33
33
34
CMD ["node" , "index.js" ]
Original file line number Diff line number Diff line change 26
26
"test:unit" : " NODE_ENV=test nyc --all --include \" src/**/*.ts\" mocha -r ts-node/register \" test/unit/**/*.spec.ts\" " ,
27
27
"test:unit:ci" : " NODE_ENV=test nyc --reporter=lcov --all --include \" src/**/*.ts\" mocha -r ts-node/register \" test/unit/**/*.spec.ts\" " ,
28
28
"test:e2e" : " SERVER_PORT=0 mocha --timeout 30000 -r ts-node/register -r dotenv/config \" test/e2e/**/*.spec.ts\" " ,
29
- "postinstall " : " env-prompt -d .env.sample && task build" ,
29
+ "prepare " : " env-prompt -d .env.sample && task build" ,
30
30
"init" : " mkdir dist" ,
31
31
"prebuild" : " yarn run clean && yarn run init" ,
32
32
"build" : " tsc -p tsconfig.build.json --sourceMap --outDir dist" ,
Original file line number Diff line number Diff line change 1
1
/* eslint-disable @typescript-eslint/naming-convention */
2
- import { fasitfyEnvOpt } from "fastify-env" ;
2
+ import { fastifyEnvOpt } from "fastify-env" ;
3
3
4
- export const config : fasitfyEnvOpt = {
4
+ export const config : fastifyEnvOpt = {
5
5
schema : {
6
6
type : "object" ,
7
7
properties : {
You can’t perform that action at this time.
0 commit comments