Skip to content

Commit 53bd9ea

Browse files
committed
(update) dockerize
1 parent 5a4edab commit 53bd9ea

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.dockerignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
npm-debug.log
3+
.env

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
2-
/*.env
2+
.env
3+
docker-compose.yml

Dockerfile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM node:carbon
2+
3+
WORKDIR /usr/movie-shelf
4+
5+
COPY package*.json .
6+
RUN npm install
7+
8+
COPY . .
9+
10+
EXPOSE 80
11+
CMD ["npm", "start"]

0 commit comments

Comments
 (0)