Skip to content

Commit adeedd5

Browse files
author
Bruno Grande
committed
Add Dockerfile
1 parent 6e2be99 commit adeedd5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM python:3.11.1
2+
3+
WORKDIR /usr/src/app
4+
5+
ARG PKG_VERSION=1
6+
7+
RUN pip install --no-cache-dir pipenv
8+
9+
COPY setup.* Pipfile* ./
10+
COPY src ./src/
11+
12+
RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_SAGETASKS=${PKG_VERSION} \
13+
pipenv install --system
14+
15+
CMD [ "python", "-c", "import dcqc" ]

0 commit comments

Comments
 (0)