Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetzt Sollte es laufen und wenn nicht machen wir ihm Feuer unterm Arsch🔥🔥🔥 #8

Merged
merged 2 commits into from
Oct 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions Teams/red_titans/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
FROM subfuzion/netcat
FROM python:3.12

ENV X=645
ENV Y=725
ENV COLOR=e07224
# Any working directory can be chosen as per choice like '/' or '/home' etc
# i have chosen /usr/app/src
WORKDIR /usr/app/src
#ENTRYPOINT sh -c "echo -en 'PX ${X} ${Y} ${COLOR}\n' | nc -q1 localhost 1234"
#to COPY the remote file at working directory in container
COPY Challenge1.py ./
# Now the structure looks like this '/usr/app/src/test.py'

ENTRYPOINT sh -c "echo -en 'PX ${X} ${Y} ${COLOR}\n' | nc -q1 localhost 1234"
CMD []

#CMD instruction should be used to run the software
#contained by your image, along with any arguments.

CMD [ "python", "./Challenge1.py"]
Loading