usar paquete de sports
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
6c589dcff5
commit
68c85fdea3
1 changed files with 1 additions and 11 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,18 +1,8 @@
|
|||
ARG ALPINE_VERSION=3.18.3
|
||||
FROM alpine:${ALPINE_VERSION} AS build
|
||||
MAINTAINER "nulo <nulo@sutty.nl>"
|
||||
ARG PB_VERSION=0.18.8
|
||||
|
||||
RUN apk add --no-cache \
|
||||
unzip \
|
||||
ca-certificates
|
||||
ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_amd64.zip /tmp/pb.zip
|
||||
RUN unzip /tmp/pb.zip -d /pb/
|
||||
|
||||
FROM gitea.nulo.in/sutty/sutty:${ALPINE_VERSION}
|
||||
MAINTAINER "nulo <nulo@sutty.nl>"
|
||||
|
||||
COPY --from=build /pb/pocketbase /usr/local/bin/pocketbase
|
||||
RUN apk add --no-cache pocketbase
|
||||
COPY 1687801090_sutty_initial_admin.js /pb/pb_migrations/
|
||||
|
||||
WORKDIR /pb
|
||||
|
|
Loading…
Reference in a new issue