Skip to content

Commit

Permalink
Simplify Radix/Docker setup (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer authored Aug 30, 2021
1 parent 59658b4 commit 2612391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions webviz_config/templates/Dockerfile.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ RUN pip install -r requirements.txt
FROM python:{{python_version_major}}.{{python_version_minor}}-slim

# Changing to non-root user early
RUN addgroup --gid 1234 appuser-group
RUN useradd --create-home --uid 1234 --groups appuser-group appuser
RUN useradd --create-home --uid 1234 appuser
USER 1234
WORKDIR /home/appuser

Expand Down
2 changes: 1 addition & 1 deletion webviz_config/templates/radixconfig.yaml.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
name: appstorage
storage: {{ azure_storage_container_name }}
path: /home/appuser/dash_app/resources
gid: 1234
uid: 1234
dnsAppAlias:
environment: prod
component: auth

0 comments on commit 2612391

Please sign in to comment.