File tree Expand file tree Collapse file tree 4 files changed +29
-1
lines changed
Expand file tree Collapse file tree 4 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1+ node_modules
2+ npm-debug.log
3+ .nyc_output
4+ coverage
5+ logs
Original file line number Diff line number Diff line change @@ -59,3 +59,4 @@ typings/
5959
6060# next.js build output
6161.next
62+ build
Original file line number Diff line number Diff line change 1+ FROM node
2+
3+ # Create app directory
4+ WORKDIR /src
5+
6+ # Install app dependencies
7+ # A wildcard is used to ensure both package.json AND package-lock.json are copied
8+ # where available (npm@5+)
9+ COPY package*.json ./
10+
11+ RUN npm install
12+ # If you are building your code for production
13+ # RUN npm ci --only=production
14+
15+ # Bundle app source
16+ COPY . .
17+
18+ RUN npm run build-ts
19+
20+ EXPOSE 3000
21+
22+ CMD [ "node" , "build/server.js" ]
Original file line number Diff line number Diff line change 1010 // "declaration": true, /* Generates corresponding '.d.ts' file. */
1111 "sourceMap" : true /* Generates corresponding '.map' file. */ ,
1212 // "outFile": "./", /* Concatenate and emit output to single file. */
13- "outDir" : " ./src/dist " /* Redirect output structure to the directory. */ ,
13+ "outDir" : " build " /* Redirect output structure to the directory. */ ,
1414 // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
1515 // "removeComments": true, /* Do not emit comments to output. */
1616 // "noEmit": true, /* Do not emit outputs. */
You can’t perform that action at this time.
0 commit comments