Skip to content

Commit 413a29c

Browse files
committed
added RUN apt-get update && apt-get install -y docker.io to be able to manage docker containers
1 parent 56ee451 commit 413a29c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ COPY . .
1313

1414
# Make sure .env will work
1515
RUN pip install python-dotenv
16-
16+
RUN apt-get update && apt-get install -y docker.io
1717

1818
# Expose port and run Flask
1919
EXPOSE 5050

Diff for: docker-compose.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ services:
1313
options:
1414
max-size: "10m"
1515
max-file: "3"
16-
labels: "debug"
16+
labels: "debug"
17+
volumes:
18+
- /var/run/docker.sock:/var/run/docker.sock # Mount the Docker socket to allow container to control Docker

0 commit comments

Comments
 (0)