R
Railway10mo ago
tevli

Help needed to deploy Hugo app

Does anyone have a resource on how to deploy Hugo on railway. It doesn’t detect it automatically and there are no resources online
Solution:
Inside the Dockerfile, use an official Hugo image or configure the environment with Hugo. For example: ```Dockerfile FROM klakegg/hugo:latest AS hugo WORKDIR /app...
Jump to solution
4 Replies
Percy
Percy10mo ago
Project ID: d6086f89-0c70-4a8a-ba8a-8d28c7ba158d
tevli
tevli10mo ago
d6086f89-0c70-4a8a-ba8a-8d28c7ba158d
Solution
Jack
Jack10mo ago
Inside the Dockerfile, use an official Hugo image or configure the environment with Hugo. For example:
FROM klakegg/hugo:latest AS hugo

WORKDIR /app

COPY . .

RUN hugo
FROM klakegg/hugo:latest AS hugo

WORKDIR /app

COPY . .

RUN hugo
tevli
tevli10mo ago
Thanks. I forgot to update the thread but yea I used a dockerfile to deploy it
Want results from more Discord servers?
Add your server