docker build
docker build -t [tag] .
docker build from dockerfile
$ docker build - < Dockerfile
docker build specify dockerfile
docker build -t [name] -f [Dockerfile]
dockerfile example
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py
how to create docker image from custom filename
cat DockerFile.debian.foo | docker build -t debian.foo -
multiple run dockerfile
RUN cd /
git clone https://github.com/
cd /fileadmin/
bundle install
rake db:migrate
bundle exec rails runner "eval(File.read 'createTestUser.rb')"
mkdir /pending
mkdir /live
chmod 777 /pending
chmod 777 /live
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us