Skip to content

Commit

Permalink
Added docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik-Donath committed Jun 21, 2024
1 parent eef8cd6 commit 60d5ab9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.9-slim
FROM python:3.12

WORKDIR /app
WORKDIR /data

COPY requirements.txt .

Expand All @@ -10,3 +10,4 @@ COPY . .

EXPOSE 80
ENTRYPOINT ["python3", "server.py"]
#CMD python3 server.py
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: '3'
services:
web:
build:
context: .
dockerfile: Dockerfile
ports:
- "80:80"
volumes:
- "/srv/web:/data/instance"

0 comments on commit 60d5ab9

Please sign in to comment.