Files
robot-shop/payment/Dockerfile

20 lines
263 B
Docker
Raw Permalink Normal View History

2018-07-23 12:20:20 +01:00
FROM python:3.6
2018-01-25 17:42:38 +00:00
EXPOSE 8080
2019-06-25 09:58:29 +01:00
USER root
2018-01-25 17:42:38 +00:00
2019-12-19 14:49:00 -06:00
ENV INSTANA_SERVICE_NAME=payment
2018-03-14 10:46:24 +00:00
2018-01-25 17:42:38 +00:00
WORKDIR /app
COPY requirements.txt /app/
RUN pip install -r requirements.txt
2018-01-26 16:01:39 +00:00
COPY *.py /app/
2019-06-14 10:39:57 +01:00
COPY payment.ini /app/
#CMD ["python", "payment.py"]
CMD ["uwsgi", "--ini", "payment.ini"]
2018-01-25 17:42:38 +00:00