Skip to content

Commit

Permalink
Merge pull request #67 from johndotpub/dev
Browse files Browse the repository at this point in the history
[fix] Ensure config.ini does not exist in Docker images
  • Loading branch information
johndotpub authored Mar 27, 2024
2 parents e055a37 + 3ed18b7 commit 29d5904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN pip install --no-cache-dir -r requirements.txt
# Doing this after installing the dependencies allows Docker to cache the
# installed dependencies separately from your code
COPY . .
RUN rm config.ini
RUN if [ -f config.ini ]; then rm config.ini; fi

# Set the command to run the bot
# The ENTRYPOINT instruction allows the container to be run as an executable
Expand Down

0 comments on commit 29d5904

Please sign in to comment.