Skip to content

Instantly share code, notes, and snippets.

@Mishco
Created March 8, 2023 20:16
Show Gist options
  • Save Mishco/3ae37336ddafa0dbd890ec88fc95ce01 to your computer and use it in GitHub Desktop.
Save Mishco/3ae37336ddafa0dbd890ec88fc95ce01 to your computer and use it in GitHub Desktop.
WORKDIR app
RUN apt-get update && apt-get install -y build-essential libxml2
COPY . /app
RUN pip3 install cython numpy pytest pandas coverage pyspark_test dummy_spark IPython pytest-cov
RUN pip3 install -r requirements.txt
ENTRYPOINT python3 -m coverage run --source=. -m pytest -v test/ && coverage report && coverage xml && cat coverage.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment