Skip to content

Commit

Permalink
added RUN apt-get update && apt-get install -y docker.io to be able t…
Browse files Browse the repository at this point in the history
…o manage docker containers
LoadingStill committed Dec 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 56ee451 commit 413a29c
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ COPY . .

# Make sure .env will work
RUN pip install python-dotenv

RUN apt-get update && apt-get install -y docker.io

# Expose port and run Flask
EXPOSE 5050
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -13,4 +13,6 @@ services:
options:
max-size: "10m"
max-file: "3"
labels: "debug"
labels: "debug"
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Mount the Docker socket to allow container to control Docker

0 comments on commit 413a29c

Please sign in to comment.