Skip to content

Commit 0b81170

Browse files
committed
6
1 parent 5f0b396 commit 0b81170

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

Dockerfile.dev

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM python:latest
2+
3+
WORKDIR /app
4+
5+
COPY requirements.txt ./
6+
7+
COPY . ./
8+
9+
RUN pip install --no-cache-dir -r requirements.txt

docker-compose.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: '3'
2+
3+
services:
4+
api:
5+
build:
6+
dockerfile: Dockerfile.dev
7+
container_name: jooble
8+
restart: always
9+
command: flask run --host=0.0.0.0
10+
ports:
11+
- "5000:5000"

requirements.txt

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
beautifulsoup4==4.11.2
2+
certifi==2022.12.7
3+
charset-normalizer==3.0.1
4+
click==8.1.3
5+
Flask==2.2.3
6+
idna==3.4
7+
itsdangerous==2.1.2
8+
Jinja2==3.1.2
9+
MarkupSafe==2.1.2
10+
requests==2.28.2
11+
soupsieve==2.4
12+
urllib3==1.26.14
13+
Werkzeug==2.2.3

0 commit comments

Comments
 (0)