async-worker.dockerfile 436 B

12345678910111213141516171819
  1. FROM python:3.9-alpine
  2. LABEL description="Image used to run async-worker benchmark tests."
  3. LABEL version='0.1'
  4. ENV ASYNCWORKER_HTTP_HOST=0.0.0.0
  5. ENV ASYNCWORKER_HTTP_PORT=8080
  6. WORKDIR /app
  7. COPY /src /app
  8. COPY Pipfile /app
  9. COPY Pipfile.lock /app
  10. RUN apk add --virtual .deps gcc g++ make openssl-dev libxml2 libffi-dev && \
  11. pip install pipenv && \
  12. pipenv install --system --ignore-pipfile
  13. CMD ["python", "./hello_world.py"]