Skip to content

Commit

Permalink
Merge pull request #8 from NoobieBubie1/main
Browse files Browse the repository at this point in the history
Jetzt Sollte es laufen und wenn nicht machen wir ihm Feuer unterm Arsch🔥🔥🔥
  • Loading branch information
cramosk authored Oct 27, 2023
2 parents 0f29a4f + c2c6905 commit 479f8ed
Showing 1 changed file with 13 additions and 2 deletions.
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"]

0 comments on commit 479f8ed

Please sign in to comment.