-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (29 loc) · 683 Bytes
/
Copy pathDockerfile
File metadata and controls
41 lines (29 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM ubuntu:latest
RUN apt-get update && apt-get install -y \
wget \
curl \
git \
npm \
nano \
nodejs \
openjdk-8-jdk \
sudo \
openjdk-8-jre
RUN git https://github.com/ToolsForge/L3MON.git
WORKDIR /L3MON
WORKDIR /L3MON
RUN npm install pm2 -g
RUN npm install | true
RUN npm audit | true
RUN npm audit fix | true
EXPOSE 22533
CMD ["pm2-runtime", "index.js"]
# Install Docker file
# docker build -t l3mon-image .
# Staart docker
# docker run -d -p 22533:22533 --name l3mon-container l3mon-image
# In L3MON Working directory
# docker exec -it l3mon-container /bin/bash
# Remove the Existing Container
# docker rm l3mon-container
# Linkgen