Skip to content

Commit 414b5d7

Browse files
authored
Merge pull request #991 from jgwerner/update-dockerfile
chore: Replace ADD with COPY
2 parents 29e0696 + 6582555 commit 414b5d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

base-notebook/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ ENV CONDA_DIR=/opt/conda \
4242
ENV PATH=$CONDA_DIR/bin:$PATH \
4343
HOME=/home/$NB_USER
4444

45-
# Add a script that we will use to correct permissions after running certain commands
46-
ADD fix-permissions /usr/local/bin/fix-permissions
45+
# Copy a script that we will use to correct permissions after running certain commands
46+
COPY fix-permissions /usr/local/bin/fix-permissions
4747
RUN chmod a+rx /usr/local/bin/fix-permissions
4848

4949
# Enable prompt color in the skeleton .bashrc before creating the default NB_USER
@@ -124,7 +124,7 @@ EXPOSE 8888
124124
ENTRYPOINT ["tini", "-g", "--"]
125125
CMD ["start-notebook.sh"]
126126

127-
# Add local files as late as possible to avoid cache busting
127+
# Copy local files as late as possible to avoid cache busting
128128
COPY start.sh /usr/local/bin/
129129
COPY start-notebook.sh /usr/local/bin/
130130
COPY start-singleuser.sh /usr/local/bin/

0 commit comments

Comments
 (0)