13 lines
279 B
Docker
13 lines
279 B
Docker
FROM debian:bullseye
|
|
|
|
RUN apt update -y && apt install -y python3
|
|
|
|
RUN useradd -m ctf
|
|
|
|
WORKDIR /app
|
|
COPY spawner.py /app/spawner.py
|
|
COPY generator.py /app/generator.py
|
|
|
|
CMD ["python3", "spawner.py", "--host", "0.0.0.0", "--port", "3006", "python3", "./generator.py"]
|
|
|
|
EXPOSE 3006 |