This website works better with JavaScript.
Home
Help
Sign In
lhw
/
asciiflow2
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
make it more secure
Signed-off-by: Lennart Weller <lhw@ring0.de>
master
Lennart Weller
2 years ago
parent
b31c55521a
commit
acd6075260
1 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
Dockerfile
+ 4
- 2
Dockerfile
View File
@ -1,9 +1,11 @@
FROM
python:3-alpine
WORKDIR
/asciiflow2
WORKDIR
/asciiflow
RUN
addgroup -S asciiflow
&&
adduser -S asciiflow -G asciiflow -h /asciiflow
USER
asciiflow
COPY
. ./
HEALTHCHECK
CMD netstat -an
|
grep
8000
> /dev/null
;
if
[
0
!
=
$?
]
;
then
exit
1
;
fi
;
ENTRYPOINT
[
"python3"
,
"-m"
,
"http.server"
]
EXPOSE
8000
EXPOSE
8000
Write
Preview
Loading…
Cancel
Save