arg
FROM xxx ARG app_env ENV APP_ENV $app_env
docker build ./ --build-arg app_env=productionexample
Set workspace
ADD docker_run.sh .
COPY example.env.production.local example.env.production.local
COPY example.env.preproduction.local example.env.preproduction.local
RUN /bin/bash docker_run.sh
Install app dependencies
Bundle app source
Build and optimize react app
run react
Last updated