mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
19 lines
324 B
Plaintext
19 lines
324 B
Plaintext
FROM ubuntu
|
|
|
|
RUN apt update
|
|
RUN apt-get install -y golang-go
|
|
RUN apt-get install -y ca-certificates
|
|
|
|
COPY ./pocketbase /pocketbase
|
|
WORKDIR /pocketbase
|
|
RUN go clean
|
|
RUN go build
|
|
RUN chmod +x pocketbase
|
|
RUN mv pocketbase /usr/local/bin/pocketbase
|
|
WORKDIR /
|
|
|
|
ADD ./data /data
|
|
|
|
EXPOSE 80
|
|
|
|
ENTRYPOINT ["tail", "-f", "/dev/null"] |