Skip to content

Docker Run

L. Grace Estrada edited this page Oct 17, 2024 · 3 revisions

Build

  • docker build --no-cache -t data_pipeline:v1.15 -f data_pipeline.dockerfile .

Run

  • docker run --name data_pipeline_container_v1.14 data_pipeline:v1.14

Tag

  • docker tag data_pipeline:v1.14 gryai/data_pipeline:v1.14

Push

  • docker push gryai/data_pipeline:v1.14

Notes:

  • Ensure that ENV PYTHONPATH="/project/src" is in the dockerfile
  • Ensure that .env file is included in the .dockerignore file

Clone this wiki locally