8 months ago
I'm trying to deploy a project where the Dockerfile Path is in docker folder of that repo.
how do i define a path for a Dockerfile?
0 Replies
8 months ago
Hey @Vishal, please take a look at the documentation regarding this https://docs.railway.com/guides/dockerfiles#custom-dockerfile-path.
and also there is a command i need to run which exists in the repo do i need to use that in the start command
8 months ago
I suppose that it depends on what the command is doing.
8 months ago
This may be helpful https://docs.railway.com/reference/build-and-start-commands
8 months ago
Depending on your needs, you may also want to use https://docs.railway.com/guides/pre-deploy-command
✕ [30/77] RUN apt-get update -qq && apt-get install -qq libpam0g-dev libcairo2-dev libfontconfig1-dev libxcb-composite0-dev libx11-xcb-dev libjpeg-dev && git clone --depth 1 https://github.com/Raymo111/i3lock-color /opt/i3lock && cd /opt/i3lock && sed -i 's/Num Lock//' i3lock.c && sed -i 's/wrong!/auth failed/' unlock_indicator.c && ./build.sh && ./install-i3lock-color.sh
process "/bin/sh -c apt-get update -qq && apt-get install -qq libpam0g-dev libcairo2-dev libfontconfig1-dev libxcb-composite0-dev libx11-xcb-dev libjpeg-dev && git clone --depth 1 https://github.com/Raymo111/i3lock-color /opt/i3lock && cd /opt/i3lock && sed -i 's/Num Lock//' i3lock.c && sed -i 's/wrong!/auth failed/' unlock_indicator.c && ./build.sh && ./install-i3lock-color.sh" did not complete successfully: exit code: 28 months ago
Is this from your Dockerfile?
8 months ago
Unfortunately, this is not something I can assist you with due to it being an application level issue.
8 months ago
!s
Status changed to Solved uxuz • 8 months ago