-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added to CLI: 1. SV matrix generator 2. CNV matrix generator Additional changes: 1. Added Dockerfile 2. Modified reference_paths to accept a volume (closes #171)
- Loading branch information
1 parent
411e2e8
commit daa5b28
Showing
5 changed files
with
95 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Use an official Python runtime as a parent image | ||
FROM python:3.8-slim | ||
|
||
# Set the working directory in the container | ||
WORKDIR /usr/src/app | ||
|
||
# Install SigProfilerMatrixGenerator from PyPI | ||
RUN pip install SigProfilerMatrixGenerator==1.2.23 | ||
|
||
# Create a non-root user named 'spm_user' | ||
RUN useradd -m -s /bin/bash spm_user | ||
|
||
# Change the ownership of the /usr/src/app directory and its contents to the new non-root user | ||
RUN chown -R spm_user:spm_user /usr/src/app | ||
|
||
# Switch to the non-root user for subsequent commands and when running the container | ||
USER spm_user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters