Skip to content

Commit 991aa46

Browse files
committed
Added simple dockerfile test.
1 parent ad2d707 commit 991aa46

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.dockerignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.vscode/
2+
3+
.git/
4+
.github/
5+
6+
node_modules/
7+
*.log
8+

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM node:lts
2+
WORKDIR /app
3+
4+
COPY package.json /app
5+
COPY package-lock.json /app
6+
RUN npm ci
7+
8+
COPY . /app
9+
RUN npm run build
10+
11+
CMD ["npm", "run", "start"]

0 commit comments

Comments
 (0)