meiliadmin icon indicating copy to clipboard operation
meiliadmin copied to clipboard

Provide Docker Image

Open KrohnMi opened this issue 1 year ago • 5 comments

To simplify the process of hosting this service on platforms like Kubernetes, I would like to request the creation of a Docker image and host it on DockerHub

By packaging the service as a Docker image, it becomes easier to deploy and manage across different environments.

KrohnMi avatar Jul 10 '23 19:07 KrohnMi

Hi, i'm already made a dockerfile, this is just best practice and easy to use

Dockerfile

FROM node:alpine

WORKDIR /app

COPY . /app

RUN npm install

EXPOSE 4200

CMD ["npm", "start"]

And then you can run docker build . -t meiliadmin to build the image

After building the docker image you can run docker run --rm -p 4200:4200 --name meiliadmin meiliadmin

Hope this helped 🙏

troke12 avatar Sep 07 '23 08:09 troke12

@troke12 Hey, yeah super cool.

@kaermorchen Can you host it on dockerhub? I can help you with this if necessary.

KrohnMi avatar Sep 07 '23 08:09 KrohnMi

@troke12 Thank you!

Can you host it on dockerhub?

@KrohnMi I will try on this weekend.

kaermorchen avatar Sep 07 '23 16:09 kaermorchen

I have pushed a docker image - https://hub.docker.com/r/kaermorchen/meiliadmin

kaermorchen avatar Sep 09 '23 09:09 kaermorchen

@kaermorchen Super cool, can you also offer builds for arm? You can use buildx to create multi platform images.

KrohnMi avatar Sep 10 '23 18:09 KrohnMi