-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (19 loc) · 752 Bytes
/
Dockerfile
File metadata and controls
26 lines (19 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM python:3.11
ARG BUILD_DEVELOPMENT="False"
ENV PYDEVD_DISABLE_FILE_VALIDATION 1
LABEL version="1.1.0"
LABEL description="Demo of a Medicare claims data sample app"
WORKDIR /server
COPY . .
RUN pip install pipenv debugpy
# Install cms_bluebutton_sdk from pypi.org or test.pypi.org
# RUN if [ "$BUILD_DEVELOPMENT" = "True" ]; then \
# pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ cms-bluebutton-sdk; \
# else \
# pip install cms-bluebutton-sdk; \
# fi
# If using a local version of the sdk, copy the wheel file and install it
# RUN pip install cms_bluebutton_sdk-1.0.4-py3-none-any.whl
RUN pipenv lock
RUN pip install click
RUN pipenv install --system --deploy --ignore-pipfile