Skip to content

Commit

Permalink
Updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
uo282892 committed May 3, 2023
1 parent 657827e commit e37a696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions restapi/server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Application, RequestHandler } from "express";
import express, { Application, RequestHandler } from "express";
import cors from 'cors';
import bp from 'body-parser';
import promBundle from 'express-prom-bundle';
Expand All @@ -7,8 +7,6 @@ import db_uri from "./settings";
import { readFileSync } from "fs";
import { createServer } from "https"


const express = require("express")
const app: Application = express();
const portHttp: number = 5000;
const portHttps: number = 5000;
Expand Down
2 changes: 1 addition & 1 deletion webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ RUN npm run build

#Execute npm run prod to run the server
#CMD [ "npm", "run", "prod" ]
CMD node server.js
CMD [ "npm", "start" ]

0 comments on commit e37a696

Please sign in to comment.