Dockerfile Path
vishalkadam47
FREEOP

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?

Solved

0 Replies

vishalkadam47
FREEOP

8 months ago

not deployed any project yet


vishalkadam47
FREEOP

8 months ago

its a public repo so i cant move the dockerfile to root


uxuz
MODERATOR

8 months ago

Hey @Vishal, please take a look at the documentation regarding this https://docs.railway.com/guides/dockerfiles#custom-dockerfile-path.


vishalkadam47
FREEOP

8 months ago

thanks i'll try this


vishalkadam47
FREEOP

8 months ago

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


uxuz
MODERATOR

8 months ago

I suppose that it depends on what the command is doing.



vishalkadam47
FREEOP

8 months ago

it runs few more sh scripts to start the application


uxuz
MODERATOR

8 months ago

Depending on your needs, you may also want to use https://docs.railway.com/guides/pre-deploy-command


vishalkadam47
FREEOP

8 months ago

its actually a tauri app not sure if that works using dockerfile


vishalkadam47
FREEOP

8 months ago

✕ [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: 2

uxuz
MODERATOR

8 months ago

Is this from your Dockerfile?


vishalkadam47
FREEOP

8 months ago

yes


uxuz
MODERATOR

8 months ago

Unfortunately, this is not something I can assist you with due to it being an application level issue.


vishalkadam47
FREEOP

8 months ago

ok no worries, but it works in my local system


vishalkadam47
FREEOP

8 months ago

post can be closed thanks


uxuz
MODERATOR

8 months ago

!s


Status changed to Solved uxuz 8 months ago


Loading...