FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaSecLab/Dockerfile at main · Khanhdosatcode/JavaSecLab · GitHub
Khanhdosatcode
/
JavaSecLab
Public
forked from
whgojp/JavaSecLab
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaSecLab
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (19 loc) · 909 Bytes
Breadcrumbs
JavaSecLab
/
Dockerfile
Copy path
File metadata and controls
26 lines (19 loc) · 909 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
FROM
openjdk:8
WORKDIR
/work
LABEL
maintainer=
"whgojp@foxmail.com"
LABEL
version=
"1.4"
LABEL
description=
"I think therefore I am."
COPY
target/JavaSecLab.jar /work/JavaSecLab.jar
RUN
mkdir -p /tmp/upload && mkdir -p /tmp/static \
&& mkdir -p /tmp/static/api /tmp/static/css /tmp/static/images /tmp/static/js /tmp/static/lib /tmp/static/other /tmp/static/upload \
&& chmod -R 777 /tmp/upload /tmp/static \
&& echo
"vul test.jsp"
> /tmp/upload/test.jsp \
&& echo
"vul test.txt"
> /tmp/upload/test.txt \
&& echo
"test readme.md"
> /tmp/static/api/readme.md \
&& echo
"test styles.css"
> /tmp/static/css/styles.css \
&& echo
"test script.js"
> /tmp/static/js/script.js \
&& echo
"test resource.txt"
> /tmp/static/other/resource.txt \
&& echo
"test file.txt"
> /tmp/static/upload/file.txt
EXPOSE
80
ENV
IMAGE_NAME=JavaSecLab
ENTRYPOINT
[
"java"
,
"-jar"
,
"JavaSecLab.jar"
]
Back
|
FazBrowse Home
|
New Git URL