Commit decc890b authored by Spiros Koulouzis's avatar Spiros Koulouzis

added test in dockerfile

parent f3b38730
...@@ -6,9 +6,12 @@ WORKDIR /usr/src/app ...@@ -6,9 +6,12 @@ WORKDIR /usr/src/app
COPY requirements.txt /usr/src/app/ COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r test-requirements.txt
COPY . /usr/src/app COPY . /usr/src/app
RUN python -m unittest discover
EXPOSE 8081 EXPOSE 8081
ENTRYPOINT ["python"] ENTRYPOINT ["python"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment