Skip to content
Permalink
15527e0344
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
21 lines (13 sloc) 336 Bytes
FROM cueh/flask
USER root
#Netcat for the Shell
RUN apt-get update && apt-get install -y ncat
WORKDIR /opt
#Copy Files
ADD REQUIREMENTS.txt /opt
#Install Requirements
RUN pip install -r REQUIREMENTS.txt
ADD serverflag.txt /
ADD app.py /opt/webapp/
ADD templates/* /opt/webapp/templates/
CMD ["flask", "run", "--host=0.0.0.0"]