Files
wanderer/db/Dockerfile
Christian Beutel abecaa4497 multiple bug fixes
2024-03-17 23:25:01 +01:00

17 lines
315 B
Docker

FROM alpine:3.16
WORKDIR /
COPY migrations ./migrations
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"]