Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
chore: Added Dockerfile and docker-compose.yml for containerization
Browse files Browse the repository at this point in the history
  • Loading branch information
dikayx committed Aug 5, 2024
1 parent c198bd9 commit 4c7f76b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM python:3-alpine

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

EXPOSE 8080

ENTRYPOINT ["python", "start.py", "-p", "8080", "-b", "0.0.0.0"]
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: "3"

services:
mapy:
container_name: mapy
build: .
image: mapy
restart: unless-stopped
ports:
- "8080:8080"
command: --debug

0 comments on commit 4c7f76b

Please sign in to comment.