Skip to content

Commit 87eac41

Browse files
committed
Add docker
1 parent d6910ae commit 87eac41

File tree

3 files changed

+16
-274
lines changed

3 files changed

+16
-274
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM python:3.10-alpine
2+
WORKDIR /app
3+
RUN apk update && apk add git
4+
COPY requirements.txt requirements.txt
5+
RUN pip3 install -r requirements.txt
6+
COPY . .
7+
CMD python playground.py

app.py

Lines changed: 0 additions & 274 deletions
This file was deleted.

docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: '3.9'
2+
3+
services:
4+
playground-for-python:
5+
build: .
6+
volumes:
7+
- "./:/app"
8+
working_dir: /app
9+
command: "python /app/playground.py"

0 commit comments

Comments
 (0)