Skip to content

Deploy glance on Vercel or Netlify or Railway #185

Answered by ken-morel
vishalkadam47 asked this question in Q&A
Discussion options

You must be logged in to vote

Delete the .dockerignore, and modify the .dockerfile:

FROM golang:1.22-alpine AS builder
COPY . .
RUN go mod download
RUN go build -o /glance .
ENTRYPOINT ["/glance"]

This worked for me.
My deployment at https://glance.up.railway.app/ (including custom css)

This implies all your assets including glance.yml are present in the repository.

Replies: 7 comments 21 replies

Comment options

You must be logged in to vote
7 replies
@ken-morel
Comment options

@vishalkadam47
Comment options

@ken-morel
Comment options

@ken-morel
Comment options

@vishalkadam47
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@vishalkadam47
Comment options

@ken-morel
Comment options

@vishalkadam47
Comment options

@svilenmarkov
Comment options

Comment options

You must be logged in to vote
5 replies
@ken-morel
Comment options

@ken-morel
Comment options

@ken-morel
Comment options

@svilenmarkov
Comment options

@vishalkadam47
Comment options

Comment options

You must be logged in to vote
4 replies
@ken-morel
Comment options

@ken-morel
Comment options

@vishalkadam47
Comment options

@ken-morel
Comment options

Comment options

You must be logged in to vote
1 reply
@vishalkadam47
Comment options

Answer selected by vishalkadam47
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants