mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 05:54:19 +01:00
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
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()"]
|
||||
EXPOSE 8000
|
||||
Reference in New Issue
Block a user