Skip to content

Commit db27869

Browse files
author
Bahram Hodjaev
committed
fix
1 parent de340c6 commit db27869

7 files changed

+404
-343
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
22
npm-debug.log
3+
dist/

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM node:alpine
22

3-
LABEL https://github.com/Sean-Bradley
3+
LABEL github=https://github.com/Sean-Bradley
44

5+
COPY src /nodejs/src
56
COPY package.json /nodejs/package.json
67
COPY tsconfig.json /nodejs/tsconfig.json
78
COPY dist /nodejs/dist

docker-compose.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ services:
1212

1313
nodejs:
1414
build:
15-
context: .
15+
context: .
1616
dockerfile: Dockerfile
17+
image: service-cats:1.01
1718
expose:
1819
- "3000"
1920
command: npm start

nginx/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM nginx
2-
LABEL https://github.com/Sean-Bradley
2+
LABEL github=https://github.com/Sean-Bradley
33
COPY /nginx.conf /etc/nginx/nginx.conf
44
#COPY /server.crt /etc/nginx/server.crt
55
#COPY /server.key /etc/nginx/server.key

0 commit comments

Comments
 (0)