Skip to content

Commit

Permalink
Merge pull request KlimaDAO#56 from 0xAurelius/fix-cve-and-timeout
Browse files Browse the repository at this point in the history
Address CVE and up timeout
  • Loading branch information
0xAurelius authored May 31, 2022
2 parents ea84cbd + 21500b9 commit 7752b8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ RUN apt-get update && \
&& \
rm -rf /var/lib/apt/lists/*

# CVE-2022-1292 openssl fix
RUN apt-get update && \
apt-get --only-upgrade install openssl libssl1.1 -y && \
rm -rf /var/lib/apt/lists/*

RUN mkdir -p /opt

WORKDIR /opt
Expand Down
2 changes: 1 addition & 1 deletion app-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ services:
instance_count: 1
instance_size_slug: basic-s
name: carbon-dashboard
run_command: gunicorn --worker-tmp-dir /dev/shm --timeout 120 src.apps.tco2_dashboard.app:server
run_command: gunicorn --worker-tmp-dir /dev/shm --timeout 180 src.apps.tco2_dashboard.app:server
source_dir: /

0 comments on commit 7752b8d

Please sign in to comment.