mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-28 23:31:47 +02:00
nodejs postgres connection
Signed-off-by: Utkarsh Mathur <utkarshmathur05@gmail.com>
This commit is contained in:
parent
e6b1d2755f
commit
99a93a5da8
5 changed files with 60 additions and 0 deletions
13
nodejs-postgres/nodejs/Dockerfile
Normal file
13
nodejs-postgres/nodejs/Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM node:14
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD [ "npm", "start" ]
|
Loading…
Add table
Add a link
Reference in a new issue