Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekLogan authored Aug 14, 2024
1 parent b4fba70 commit 2498b10
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,18 @@ RUN mkdir /app
ENV INTERNAL_NEUROGLANCER_ADDRESS=0.0.0.0
ENV INTERNAL_NEUROGLANCER_PORT=8050
ENV INTERNAL_SERVER_PORT=8085
ENV DATABASE_URL=http://localhost
ENV PRECOMPUTED_URL=precomputed://https://ntracer2.cai-lab.org/data2
ENV PRECOMPUTED_URL_DOCKER=precomputed://https://ntracer2.cai-lab.org/data2
ENV PRECOMPUTED_ANNOTATION_URL=precomputed://http://localhost:8070
ENV DATASET_ID=sample_ch1

ENV DATABASE_URL=https://ntracer2.cai-lab.org/data2/
ENV PRECOMPUTED_URL=precomputed://https://ntracer2.cai-lab.org/data2/
ENV PRECOMPUTED_URL_DOCKER=precomputed://https://ntracer2.cai-lab.org/data2/
ENV PRECOMPUTED_ANNOTATION_URL=precomputed://https://ntracer2.cai-lab.org/data2/

ENV NEUROGLANCER_TOKEN=cailab1357

Check warning on line 34 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "NEUROGLANCER_TOKEN") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ENV NEUROGLANCER_PORT=8050
ENV PUBLIC_URL=http://localhost

ENV DATASET_ID=packed2

ENV PATH=/root/.local/bin:$PATH
RUN apt-get update && apt-get install -y --no-install-recommends libx264-dev
COPY backend /app
Expand Down

0 comments on commit 2498b10

Please sign in to comment.