Staticaliza commited on
Commit
ebf65d6
·
verified ·
1 Parent(s): 8f3517b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:20.04
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y curl && \
5
+ curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
6
+ apt-get install -y nodejs && \
7
+ rm -rf /var/lib/apt/lists/*
8
+
9
+ WORKDIR /usr/src/app
10
+ COPY package*.json ./
11
+ RUN npm install
12
+
13
+ COPY . .
14
+
15
+ CMD ["npm", "start"]