Skip to content

Commit 7b97f02

Browse files
committed
add docker-compose.yml
1 parent 4c1bd19 commit 7b97f02

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ ENV PATH="/root/.local/bin:$PATH"
2727
# Configure Poetry
2828
RUN poetry config virtualenvs.create false
2929

30-
# -------------------------
31-
# Create the logs directory
32-
# -------------------------
33-
34-
RUN mkdir logs
35-
3630
# ---------------------
3731
# Setup the environment
3832
# ---------------------

docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
services:
2+
python-template:
3+
image: your_image_name:latest
4+
container_name: python-template
5+
restart: unless-stopped
6+
env_file:
7+
- .env

0 commit comments

Comments
 (0)