Skip to content

Commit

Permalink
Merge pull request #40 from uc-cdis/fix/docker-config-local-fix
Browse files Browse the repository at this point in the history
config-local.js file fix
  • Loading branch information
pieterlukasse authored Jan 25, 2024
2 parents 6104b24 + 7a625ed commit 8b8b28b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ LABEL org.opencontainers.image.vendor="OHDSI"
LABEL org.opencontainers.image.source="https://github.com/OHDSI/Atlas"

# URL where WebAPI can be queried by the client
# ENV WEBAPI_URL=http://localhost:8080/WebAPI/ \
# CONFIG_PATH=/etc/atlas/config-local.js
ENV WEBAPI_URL=http://localhost:8080/WebAPI/ \
CONFIG_PATH=/etc/atlas/config-local.js

# Configure webserver
COPY ./docker/nginx-default.conf /etc/nginx/conf.d/default.conf
COPY ./docker/optimization.conf /etc/nginx/conf.d/optimization.conf
# COPY ./docker/30-atlas-env-subst.sh /docker-entrypoint.d/30-atlas-env-subst.sh
COPY ./docker/30-atlas-env-subst.sh /docker-entrypoint.d/30-atlas-env-subst.sh

# Load code
COPY ./images /usr/share/nginx/html/atlas/images
Expand All @@ -54,4 +54,4 @@ COPY --from=builder /code/js /usr/share/nginx/html/atlas/js

# Load Atlas local config with current user, so it can be modified
# with env substitution
# COPY --chown=101 docker/config-local.js /usr/share/nginx/html/atlas/js/config-local.js
COPY --chown=101 docker/config-local.js /usr/share/nginx/html/atlas/js/config-local.js

0 comments on commit 8b8b28b

Please sign in to comment.