Skip to content

Commit 373f287

Browse files
build: add Dockerfile
1 parent 469af39 commit 373f287

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM python:3.12-slim
2+
3+
RUN apt-get update \
4+
&& apt-get install -y libpq-dev gcc
5+
6+
WORKDIR /oc4ids_datastore_pipeline
7+
8+
COPY requirements.txt .
9+
10+
RUN pip install -r requirements.txt
11+
12+
COPY . .
13+
14+
RUN pip install .
15+
16+
ENTRYPOINT ["sh", "-c", "alembic upgrade head && oc4ids-datastore-pipeline"]

0 commit comments

Comments
 (0)