Getting "can't cd to /etc/shlink" on docker-entrypoint.sh when trying run docker container (image build from Dockerfile) #2056
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Shlink version
last
PHP version
last
How do you serve Shlink
Docker image
Database engine
PostgreSQL
Database version
14.9
Summary
Hi,
If I run docker container with provided env variables without making any other changes(for local testing) I'm getting "./docker-entrypoint.sh: set: line 2: illegal option -".
I've tried to delete line 2: set -e from docker-entrypoint.sh and then I'm facing error "can't cd to /etc/shlink" on docker-entrypoint.sh. Image is build from Dockerfile and the reason to do that is because I need to deploy it on Heroku, so ports have to be set dynamically.
Beta Was this translation helpful? Give feedback.
All reactions