Add programms to prisma image


#1

I want to add Google Chrome to the docker image of prisma, how should I do this when I initialized prisma with a docker compose file?
Forgive me please, I am currently not that familiar with docker.

The solution that I have in mind is to run the image and install chrome by stepping into the image. But are there better ways to achieve this? Anyway I would like to know how do I get my current image (local) to my server?


#2

Yes, will have to install it by yourself in a custom Docker image

FROM prismagraphql/prisma:1.28
# this is for PRISMA_CONFIG
ARG PRISMA_CONFIG_PATH
ENV PRISMA_CONFIG_PATH prisma.yml
COPY config.yml prisma.yml
# install chrome here

EXPOSE 4466

#3

Thanks for your help, But I dont know how to Add postgresql the?
Could you Tell me the Full process please?


#4

Postgres will be separate


#5

So to sum up, that would mean I have to create a custom docker image.
After modifying the image to my needs, I have to host the image in my repository
and on my server i dont pull the default prisma image in my docker compose file, I
pull my modified image?

Are my assumptions right?


#6

yes, you will need to host it on something like dockerhub


#7

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.