-
-
Save deepanshululla/d7e15e873bac35e343f438b6658489ff to your computer and use it in GitHub Desktop.
Dockerfile to run tests from inside your application container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.6-alpine | |
ADD . /code | |
WORKDIR /code | |
COPY requirements.txt ./ | |
RUN pip install -r requirements.txt | |
RUN python -m unittest discover | |
CMD ["python", "app.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment