Skip to content

Commit e41e79c

Browse files
committed
Requirements
1 parent 3bb8643 commit e41e79c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
FROM python:3.10.2-alpine3.15
2+
COPY . .
23
# Install Postgres
34
RUN apk update
45
RUN apk add postgresql
56
RUN chown postgres:postgres /run/postgresql/
7+
# Install requirements
8+
RUN pip install -r requirements.txt
9+
# For psycopg2
10+
RUN apk add --virtual postgresql-deps libpq-dev
611
# Create directories
712
RUN mkdir -p /root/workspace/src
813
# Mount your local file

requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bs4
2+
requests

0 commit comments

Comments
 (0)