Skip to content

Commit

Permalink
docs(fix): hosting guide release image (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinanielsen committed Jan 25, 2024
1 parent af83c26 commit d923d0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/content/docs/guides/hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ From there you need to paste the following lines into the Dockerfile, which will
```dockerfile
FROM alpine:latest

ARG GO_FAST_VERSION=0.1.0
ARG GO_FAST_VERSION=0.1.6

RUN apk add --no-cache unzip openssh

# download and unzip go-fast-cdn
ADD https://github.com/kevinanielsen/go-fast-cdn/releases/download/${GO_FAST_VERSION}/go-fast-cdn-x86_64-linux.zip /tmp/cdn.zip
ADD https://github.com/kevinanielsen/go-fast-cdn/releases/download/${GO_FAST_VERSION}/go-fast-cdn_${GO_FAST_VERSION}_linux_amd64.zip /tmp/cdn.zip
RUN unzip /tmp/cdn.zip -d /cdn/

EXPOSE 8080

# start go-fast-cdn
CMD ["/cdn/go-fast-cdn-linux"]
CMD ['/cdn/go-fast-cdn']

```

Expand Down

0 comments on commit d923d0a

Please sign in to comment.