CTFd/Dockerfile

10 lines
295 B
Docker
Raw Normal View History

2015-09-17 06:31:58 +00:00
FROM ubuntu:trusty
RUN apt-get update && apt-get upgrade -y
RUN apt-get install git gunicorn -y
RUN git clone https://github.com/isislab/CTFd.git /opt/CTFd && cd /opt/CTFd && ./prepare.sh
WORKDIR /opt/CTFd
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "-w", "4", "CTFd:create_app()"]
2015-09-17 06:31:58 +00:00
EXPOSE 8000