write-ups-challenges-2024-2025/royal-message-decryptor/Dockerfile
2024-11-25 22:32:28 +01:00

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