Skip to content

Commit

Permalink
Making entrypoint.sh executable
Browse files Browse the repository at this point in the history
  • Loading branch information
JS Fillman committed Aug 27, 2024
1 parent b414096 commit 5c355f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ COPY --from=build-stage /.jupyter /.jupyter

# Set correct ownership and permissions
RUN chown -R spark_user:spark /opt/bitnami /src /opt/scripts /opt/config /.jupyter
RUN chmod +x /opt/scripts/entrypoint.sh
RUN ln -s /opt/scripts/entrypoint.sh /entrypoint.sh

# Set up shared directory between Spark components
ENV CDM_SHARED_DIR=/cdm_shared_workspace
Expand All @@ -75,5 +77,5 @@ RUN chown -R spark_user:spark $CDM_SHARED_DIR
USER spark_user

# Entry point for the container
ENTRYPOINT ["/opt/scripts/entrypoint.sh"]
# ENTRYPOINT ["/opt/scripts/entrypoint.sh"]

0 comments on commit 5c355f0

Please sign in to comment.