Skip to content

Commit 357c24b

Browse files
committed
docker port
1 parent bf6401c commit 357c24b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ coverage
1010
.nyc_output
1111

1212
# Environment (contains sensitive data)
13-
.env
13+
1414

1515
# Files not required for production
1616
.editorconfig

docker/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
FROM node:latest
2+
FROM node:14.15.0
33

44
# Set working directory. Paths will be relative this WORKDIR.
55
WORKDIR /usr/src/app
@@ -13,9 +13,5 @@ RUN npm install
1313
# Copy source files from host computer to the container
1414
COPY . .
1515

16-
17-
# Specify port app runs on
18-
EXPOSE 3000
19-
2016
# Run the app
2117
CMD [ "node", "app.js" ]

0 commit comments

Comments
 (0)