From 1880fb0ca8f5a2c59b29a767bf970adb5c21cd15 Mon Sep 17 00:00:00 2001 From: Jeremiah Hansen Date: Thu, 7 Mar 2024 16:43:13 -0700 Subject: [PATCH] file perm changes to Docker image --- .devcontainer/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 9af97fb..ca9f082 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -7,6 +7,10 @@ WORKDIR /home/vscode RUN mkdir .snowflake COPY .devcontainer/config.toml .snowflake COPY .devcontainer/connections.toml .snowflake +RUN chown $USER .snowflake/config.toml \ + && chown $USER .snowflake/connections.toml \ + && chmod 0600 .snowflake/config.toml \ + && chmod 0600 .snowflake/connections.toml # Create the conda environment COPY environment.yml .