Skip to content

Instantly share code, notes, and snippets.

@rasmar
Last active December 22, 2017 12:58
Show Gist options
  • Select an option

  • Save rasmar/e06a6b130c1ffb0a90913e8432bca1fd to your computer and use it in GitHub Desktop.

Select an option

Save rasmar/e06a6b130c1ffb0a90913e8432bca1fd to your computer and use it in GitHub Desktop.
E2E - add single stage
dependecies:
pre:
...
- pyenv rehash
- docker build -t frontend_img -f Dockerfile.e2e.build . # Builds image from Dockerfile.e2e.build (with our front app)
- docker create --name frontend_pre frontend_img # Creates container from image
- docker cp frontend_pre:/app/build ./tmp # Copies /app/build directory (compiled app) from a container to ./tmp in CircleCI machine
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment