old htb folders
This commit is contained in:
2023-08-29 21:53:22 +02:00
parent 62ab804867
commit 82b0759f1e
21891 changed files with 6277643 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
FROM ruby:2.7.5-alpine3.15
# Install supervisor
RUN apk add --update --no-cache supervisor
# Setup user
RUN adduser -D -u 1000 -g 1000 -s /bin/sh www
# Copy challenge files
RUN mkdir /app
COPY challenge/ /app
COPY config/supervisord.conf /etc/supervisord.conf
# Install dependencies
WORKDIR /app
RUN bundle install
RUN gem install shotgun
# Expose the app port
EXPOSE 1337
# Start supervisord
ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]