Skip to content

Commit 9794008

Browse files
add; Dockerfile for running inside a container
1 parent c579c77 commit 9794008

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM node:alpine
2+
3+
RUN apk update
4+
RUN apk add git bash curl wget
5+
6+
RUN mkdir -p /usr/src/app
7+
WORKDIR /usr/src/app
8+
9+
COPY package.json /usr/src/app/
10+
RUN npm install && npm cache clean --force
11+
COPY . /usr/src/app
12+
13+
CMD [ "npm", "start" ]
14+
EXPOSE 3000

0 commit comments

Comments
 (0)