Error page + config + docker
This commit is contained in:
parent
7e821296a6
commit
c6c533a503
13 changed files with 110 additions and 31 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM golang:alpine
|
||||
|
||||
RUN apk add just
|
||||
|
||||
RUN go install github.com/a-h/templ/cmd/templ@latest && \
|
||||
go install github.com/air-verse/air@latest
|
||||
|
||||
COPY . /src
|
||||
|
||||
RUN cd /src && go get -u && just build
|
||||
|
||||
RUN mkdir /app && mv /src/bin/gpx-downloader /app/gpx-downloader
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENTRYPOINT [ "/app/gpx-downloader" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue