Questions tagged [dockerfile]
5 questions
1
vote
1 answer
Failing to use node in alpine-powered docker container
I'm failing to run my webapp project in a fresh arch linux install. It uses docker and docker-compose.yaml to create DB, nginx server etc. This project is already running in multiple PCs and cloud environments (for a few years), so I'm wondering if…
Bruno Lamps
- 141
0
votes
0 answers
dockerfile for a postfix container with a predefined destination mail address for the local network
I would like to build a docker that accepts all emails from the local network without a password and only sends them a predefined email.
Unfortunately, the Contianer is crashing, but I have no idea why. The logs I know show no error. maybe i'm…
ozz
- 1
0
votes
0 answers
How to copy a .env inside a Dockerfile to a Google Cloud Run instance?
I'm trying to deploy a Docker image with the following content:
COPY .env /
When I try to use the file, I receive this error:
/.env: No such file or directory
I have no .dockerignore or .gcloudignore file and I'm not sure if its because of Docker…
Julian
- 139
0
votes
1 answer
How to implement editing Docker container files from host from installation with YML and Dockerfiles (NO Terminal)?
hello i have this yml file to get docker container working with phpmyadmin:
phpmyadmin:
image: phpmyadmin/phpmyadmin
restart: always
expose:
- 80
depends_on:
- database
volumes:
- /sessions
-…
0
votes
1 answer
Mounting volumes in a Dockerfile
When I run a Docker container, I know that if I bind volume foo:bar, the contents of foo on the host will show in bar in the container. However, the --mount option of the RUN command in a Dockerfile does not work the same way. I don't care about the…
Juan Jimenez
- 969