We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c39355 commit 33d04a2Copy full SHA for 33d04a2
docker-compose.yml
@@ -13,8 +13,10 @@ services:
13
- "5432:5432"
14
15
server:
16
- #build and tag first: cd Server, 'docker build -t NAME .'
17
- image: yourUsername/yourServerImageName:1.0.0
+ #build and tag first: cd Server, 'docker build -t <TAG> .' and replace image: with your <TAG>
+ image: max37/scaffoldserver:1.0.0
18
+ env_file:
19
+ - ./server/.env
20
depends_on:
21
- db
22
expose:
server/Dockerfile
@@ -1,4 +1,4 @@
1
-FROM node:14
+FROM node:latest
2
3
WORKDIR /usr/src/app
4
@@ -7,7 +7,6 @@ COPY package*.json ./
7
RUN npm install
8
9
COPY . .
10
-COPY .env .evn
11
#COPY ormconfig.env ormconfig.env
12
RUN npm run build
0 commit comments