Skip to content

Commit

Permalink
This has to be the stupidest dockerfile of all time.
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptofyre committed Jun 19, 2023
1 parent 5fe4a93 commit 196ff24
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,7 @@ RUN apt-get update && apt-get install -y git python3 python3-pip
# Set working directory
WORKDIR /app

# Clone your discord bot's repo
RUN git clone https://github.com/ciderapp/cider-bot.git .

# Install dependencies
RUN yarn install

# Build TSC
RUN yarn run build || true

# Pull for updates every time the container is started
ENTRYPOINT sh -c "yarn run start || true"
ENTRYPOINT sh -c "git clone https://github.com/ciderapp/cider-bot.git . && git pull && yarn install && yarn run build && yarn run start || true"

# Don't dodge me next time.

0 comments on commit 196ff24

Please sign in to comment.