Skip to content

Commit

Permalink
Revert failing heredoc
Browse files Browse the repository at this point in the history
Are these actually supported for COPY ops in Docker??
  • Loading branch information
snickell committed Sep 8, 2023
1 parent 499ebcc commit 17b6de3
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions k8s/code.org.dockerfile
Expand Up @@ -261,14 +261,17 @@ COPY --chown=${UID} --from=code.org-rbenv ${SRC}/Gemfile ${SRC}/Gemfile
# accomplish `eval $(rbenv init -)` that works for kubectl exec.
ENV PATH=${HOME}/.rbenv/shims:${PATH}

COPY <<-EOT ./docker-cmd.sh
#!/bin/zsh
RUN <<EOF
ls -l
EOF
# COPY <<-EOT ./docker-cmd.sh
# #!/bin/zsh

echo "Starting dashboard-server..."
# echo "Starting dashboard-server..."

exec ./bin/dashboard-server
EOT
# exec ./bin/dashboard-server
# EOT

CMD [ "./docker-cmd.sh" ]
# CMD [ "./docker-cmd.sh" ]

# CMD [ "./bin/dashboard-server" ]
CMD [ "./bin/dashboard-server" ]

0 comments on commit 17b6de3

Please sign in to comment.