There was an error while loading. Please reload this page.
1 parent 3e04063 commit e363d52Copy full SHA for e363d52
.dockerignore.txt
@@ -0,0 +1,5 @@
1
+.env
2
+.git
3
+.gitignore
4
+node_modules
5
+
Dockerfile.txt
@@ -0,0 +1,23 @@
+#using Node v10
+FROM node:10
+# Create app directory
+WORKDIR /usr/src/lafs
6
7
+# Install app dependencies
8
+# A wildcard is used to ensure both package.json AND package-lock.json are copied
9
+# where available (npm@5+)
10
+COPY package*.json ./
11
12
+RUN npm install -g @angular/cli@v6-lts
13
+RUN npm install
14
+# If you are building your code for production
15
+# RUN npm ci --only=production
16
17
+# Bundle app source
18
+COPY . .
19
20
+# Expose port 3000 outside container
21
+EXPOSE 4200
22
+# Command used to start application
23
+CMD ng serve --host 0.0.0.0
0 commit comments