Skip to content
Snippets Groups Projects
Commit 79401e7c authored by Dookarun, Jason J (PG/T - Comp Sci & Elec Eng)'s avatar Dookarun, Jason J (PG/T - Comp Sci & Elec Eng)
Browse files

dockerized completed :white_check_mark:

parent 93b6e9de
No related merge requests found
FROM node:16
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD [ "npm", "start" ]
This diff is collapsed.
{ {
"name": "express", "name": "location_microservice",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "Location Microservice",
"main": "index.js", "main": "index.js",
"scripts": { "repository": "git@gitlab.surrey.ac.uk:group-5/location_microservice.git",
"test": "echo \"Error: no test specified\" && exit 1" "author": "Jason J Dookarun",
},
"author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"body-parser": "^1.18.3",
"dotenv": "^16.0.3",
"express": "^4.18.2", "express": "^4.18.2",
"mongoose": "^7.0.4" "mongoose": "^5.3.16",
"morgan": "^1.9.1",
"nodemon": "^1.18.4"
},
"scripts": {
"start": "node src/App.js"
} }
} }
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment