diff options
Diffstat (limited to 'demo')
| -rw-r--r-- | demo/Dockerfile | 8 | ||||
| -rwxr-xr-x | demo/entrypoint.sh | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/demo/Dockerfile b/demo/Dockerfile index 5b1101a..92a18dc 100644 --- a/demo/Dockerfile +++ b/demo/Dockerfile @@ -1,7 +1,7 @@ -FROM golang:1.16-alpine +FROM docker.io/golang:1.19-alpine -RUN apk update -RUN apk add nginx +# RUN apk update +# RUN apk add nginx RUN mkdir /code /steam-lib @@ -13,5 +13,7 @@ RUN go build -ldflags="-X 'main.Version=Demo'" -o /bin/steam-export ./cmd/web COPY demo/entrypoint.sh / +RUN chmod +x /entrypoint.sh + ENTRYPOINT /entrypoint.sh diff --git a/demo/entrypoint.sh b/demo/entrypoint.sh index e060597..3c65e54 100755 --- a/demo/entrypoint.sh +++ b/demo/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/sh USER_SHELL="${USER_SHELL:-/bin/ash}" -# UID and GID used by the `git` user inside of the container +# UID and GID used by the user inside of the container USER_UID="${USER_UID:-3500}" USER_GID="${USER_GID:-3500}" |
