write-ups-challenges-2024-2025/royal-message-decryptor/Dockerfile

13 lines
279 B
Docker
Raw Permalink Normal View History

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