Skip to content

Commit eda4ec8

Browse files
author
Robert Kleger
committed
add dockerfile
1 parent 488fed9 commit eda4ec8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM node:alpine
2+
3+
# Create work directory
4+
WORKDIR /usr/src/app
5+
6+
# Install runtime dependencies
7+
RUN npm install yarn -g
8+
9+
# Copy app source to work directory
10+
COPY . /usr/src/app
11+
12+
# Install app dependencies
13+
RUN yarn install
14+
15+
# Build and run the app
16+
CMD npm start serve

0 commit comments

Comments
 (0)