Created
January 18, 2022 19:42
-
-
Save engleangs/d084cd744e2e162e1f53b85c616cc266 to your computer and use it in GitHub Desktop.
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.9 | |
WORKDIR /code | |
COPY ./ /code/ | |
RUN apt-get update | |
#RUN apt-get install -y iputils-ping | |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
ENV MONGO_URL=mongodb://root:rootpassword@mongodb_container:27017/db_sms?retryWrites=true&w=majority | |
ENV KAFKA_URL=kafka:29092 | |
CMD ["uvicorn","app.main:app", "--host","0.0.0.0", "--port", "80"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment