Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Add screen to API Docker image (#1144)
Browse files Browse the repository at this point in the history
* Add screen to API Docker image

* Add note about screen dependency
  • Loading branch information
AetherUnbound authored Feb 17, 2023
1 parent 0f12b71 commit 6efd9f9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,15 @@ COPY --from=awf /usr/local/bin/audiowaveform /usr/local/bin
# - Install system packages needed for running Python dependencies
# - libexempi8: required for watermarking
# - libpq-dev: required by `psycopg2`
# - screen: used for executing long-running commands in production
# - Create directory for dumping API logs
RUN apt-get update \
&& apt-get install -y curl libpq-dev libexempi8 postgresql-client \
&& apt-get install -y \
curl \
libpq-dev \
libexempi8 \
postgresql-client \
screen \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /var/log/openverse_api/openverse_api.log

Expand Down

0 comments on commit 6efd9f9

Please sign in to comment.