mirror of
https://github.com/Flomp/wanderer.git
synced 2026-01-06 05:00:09 -06:00
18 lines
342 B
Docker
18 lines
342 B
Docker
FROM alpine:3.19
|
|
|
|
WORKDIR /
|
|
|
|
COPY migrations ./migrations
|
|
COPY templates ./templates
|
|
|
|
ARG TARGETARCH
|
|
RUN echo ${TARGETARCH}
|
|
COPY ./pocketbase_${TARGETARCH} /pocketbase
|
|
RUN chmod +x /pocketbase
|
|
|
|
ENV MEILI_URL=http://localhost:7700
|
|
ENV MEILI_MASTER_KEY=
|
|
|
|
EXPOSE 8090
|
|
|
|
ENTRYPOINT ["/pocketbase", "serve", "--http=0.0.0.0:8090", "--dir=/pb_data"] |