Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
<<: *backend-common
depends_on:
redis:
condition: service_started
condition: service_healthy
networks: [ retromol_network ]
# Healthcheck comes from the image's own HEALTHCHECK (hits /api/ready) --
# nothing to override here.
Expand Down Expand Up @@ -66,7 +66,7 @@ services:
replicas: ${RQ_WORKER_REPLICAS:-2}
depends_on:
redis:
condition: service_started
condition: service_healthy
networks: [ retromol_network ]
# No fixed container_name -- incompatible with replicas > 1.
# The image's inherited HEALTHCHECK probes an HTTP server this container never
Expand Down
5 changes: 3 additions & 2 deletions gui/docker/backend.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ RUN groupadd --gid $USER_GID $USERNAME \
# Switch to /app as working dir
WORKDIR /app

# System deps (git)
RUN apt-get update && apt-get install -y --no-install-recommends build-essential git && rm -rf /var/lib/apt/lists/*
# System deps (git; libxrender1/libxext6/libsm6 are runtime deps of rdkit.Chem.Draw,
# which dlopens X11 libs for 2D rendering even though the container is headless)
RUN apt-get update && apt-get install -y --no-install-recommends build-essential git libxrender1 libxext6 libsm6 && rm -rf /var/lib/apt/lists/*

# Copy env + requirements before env creation for caching
COPY gui/src/server/environment.backend.yml /app/
Expand Down
34 changes: 17 additions & 17 deletions gui/src/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading