added official hacktheboo2024 writeups
This commit is contained in:
parent
1f7a9b0566
commit
e3c46450f7
327 changed files with 14303 additions and 0 deletions
20
htb/hacktheboo2024/web/web_unholy_union/Dockerfile
Normal file
20
htb/hacktheboo2024/web/web_unholy_union/Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Use the official Node.js image as a base
|
||||
FROM node:alpine
|
||||
|
||||
RUN apk add --no-cache --update mariadb mariadb-client supervisor gcc musl-dev mariadb-connector-c-dev
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY src/ .
|
||||
COPY config/supervisord.conf /etc/supervisord.conf
|
||||
COPY --chown=root entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
RUN npm install express request mysql2
|
||||
# Expose port 3000
|
||||
EXPOSE 3000
|
||||
|
||||
COPY flag.txt /flag.txt
|
||||
|
||||
# Command to run the application
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
Loading…
Add table
Add a link
Reference in a new issue