Skip to content

Commit

Permalink
updating status
Browse files Browse the repository at this point in the history
  • Loading branch information
mwang87 committed Sep 19, 2023
1 parent c1a74a6 commit f47309c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LABEL about.license="SPDX:Unknown"
LABEL about.tags="Proteomics"

################## INSTALLATION ######################
RUN apt-get update && apt-get install -y git
RUN apt-get update && apt-get install -y git lftp libarchive-dev

################## INSTALLATION OF MONO ######################
RUN apt-get update && apt -y install apt-transport-https dirmngr gnupg ca-certificates
Expand All @@ -26,9 +26,12 @@ WORKDIR /src
RUN git clone -b master --single-branch https://github.com/compomics/ThermoRawFileParser --branch v1.3.2 /src
RUN xbuild

# Installing Mamba
RUN conda install -c conda-forge mamba

# Python Package Installations
RUN conda install -c conda-forge datashader=0.12.1
RUN conda install -c conda-forge openjdk=11.0.9.1
RUN mamba install -c conda-forge datashader=0.12.1
RUN mamba install -c conda-forge openjdk=11.0.9.1

COPY requirements.txt .
RUN pip install -r requirements.txt
Expand All @@ -38,9 +41,6 @@ RUN pip install -r requirements.txt
# RUN chmod +x ibm-aspera-connect_4.1.0.46-linux_x86_64.sh
# RUN ./ibm-aspera-connect_4.1.0.46-linux_x86_64.sh

# Install lftp
RUN apt-get update && apt-get install -y lftp


COPY . /app
WORKDIR /app
Expand Down
10 changes: 5 additions & 5 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@

server.wsgi_app = ProxyFix(server.wsgi_app, x_for=1, x_host=1)

limiter = Limiter(
server,
key_func=get_remote_address,
default_limits=["10000 per hour"]
)
# limiter = Limiter(
# server,
# key_func=get_remote_address,
# default_limits=["10000 per hour"]
# )

# Optionally turn on caching
if __name__ == "__main__":
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ qrcode
pyarrow
celery==5.2.2
celery_once==3.0.1
massql==0.0.12
massql==0.0.12
numpy==1.23.1

0 comments on commit f47309c

Please sign in to comment.