Skip to content

Commit e363d52

Browse files
authored
Add files via upload
1 parent 3e04063 commit e363d52

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.dockerignore.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.env
2+
.git
3+
.gitignore
4+
node_modules
5+

Dockerfile.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#using Node v10
2+
FROM node:10
3+
4+
# Create app directory
5+
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

Comments
 (0)