Answer the question
In order to leave comments, you need to log in
Docker image as a script does not receive parameters, how to fix it?
Dockerfile
FROM ruby:2.5
RUN useradd -ms /bin/bash project
USER project
WORKDIR /home/project/app
RUN gem install mina -v '1.2.3'
ADD ./ /home/project/app
version: '3'
services:
mina:
image: ihmoroz/mina:0.0.17
volumes:
- "./:/home/project/app"
- "~/.ssh:/home/project/.ssh"
docker-compose run --rm mina 'ls'
docker-compose run --rm mina 'ls -la'
docker-compose run --rm mina 'mina init'
docker run -v ${PWD}:/home/project/app -it ihmoroz/mina:0.0.16 mina init
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question