I have a few other Docker containers and I run steps like this:
# Copy the current directory contents into the container at /app COPY html /usr/share/nginx/html/ COPY dim.local.crt /etc/nginx/ssl/ COPY dim.local.key /etc/nginx/ssl/ COPY nginx.conf /etc/nginx/ COPY default.conf /etc/nginx/sites-enabled/ # Install any needed packages specified in requirements.txt #RUN pip install -r requirements.txt # need to restart nginx after COPY commands? RUN RUN apt-get update && \ apt-get install -y nano && \ rm -fr /var/lib/apt/lists/*
I need to do some similar steps to my Discourse container, but where is the Dockerfile? I read that maybe I could add these to
containers/app.yml at the end, but I’m not confident.
Can anyone explain?