Skip to content

Commit feba38c

Browse files
committed
Add Dockerfile for crack-me
1 parent 5371503 commit feba38c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM python:2-alpine
2+
RUN apk --no-cache add socat
3+
4+
WORKDIR /usr/src/app
5+
6+
COPY crack-me.py ./
7+
8+
EXPOSE 8080
9+
10+
CMD ["socat", "TCP4-LISTEN:8080,fork", "EXEC:/usr/src/app/crack-me.py"]

0 commit comments

Comments
 (0)