Skip to content

Commit 5565f79

Browse files
committed
Updated dockerfile so that sqliteuser owns the /data dir
1 parent 5bbd35e commit 5565f79

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ COPY --from=builder /svc /svc
3636
WORKDIR /svc
3737

3838
RUN pip install --upgrade pip
39-
RUN pip install --no-index /svc/wheels/*.whl
39+
RUN pip install --no-index /svc/wheels/*.whl && mkdir /data && chown -R ${USERNAME}:${USERNAME} /data
4040

4141
USER ${USERNAME}
4242
WORKDIR ${HOME_DIR}

sqlite_rx/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
__version__ = "1.2.0"
1+
from sqlite_rx.version import __version__
2+
23
__author__ = "Abhishek Singh"
34
__authoremail__ = "abhishek.singh20141@gmail.com"
45

sqlite_rx/cli/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def handle_help(
130130
)
131131
@click.option(
132132
"--curve-dir",
133-
"-d",
133+
"-c",
134134
type=click.Path(exists=True),
135135
help="Curve Key directory",
136136
default=None,

0 commit comments

Comments
 (0)