Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

entrypoint in dockerfile #43

Merged
merged 5 commits into from
Mar 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ WORKDIR /swarms-cloud/servers/cogvlm
COPY . /swarms-cloud

# Copy the entrypoint script into the container
COPY scripts/entrypoint.sh /entrypoint.sh
COPY scripts/entry_point.sh /entry_point.sh

# Make the entrypoint script executable
RUN chmod +x /entrypoint.sh
RUN chmod +x /entry_point.sh

# Expose the port the app runs on
EXPOSE 8000

# Use the entrypoint script to configure environment variables and start the application
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entry_point.sh"]
Loading