Skip to content
This repository was archived by the owner on Nov 29, 2022. It is now read-only.

Commit e6c85ac

Browse files
committed
add docker support
1 parent 09a70d2 commit e6c85ac

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.dockerignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.git
2+
.idea
3+
*.egg-info
4+
build
5+
dist
6+
.pytest_cache
7+
.gitignore
8+
.dockerignore
9+
.travis.yml
10+
Dockerfile
11+
*.sqlite
12+
venv

Dockerfile

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM python:2.7
2+
3+
EXPOSE 8080
4+
5+
WORKDIR /app
6+
7+
COPY requirements.txt /app/
8+
RUN pip install --no-cache-dir -r requirements.txt
9+
10+
COPY . .
11+
12+
ENTRYPOINT ["python", "server.py"]

0 commit comments

Comments
 (0)