Created
April 4, 2022 11:26
-
-
Save esirK/2b4fc96d7625b6b9d78a7eabced22eff 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 cfa/base_image as base | |
EXPOSE 8000 | |
# Install Python dependencies specific to debunkbot | |
COPY requirements.txt /var/tmp/ | |
RUN pip3 install -r /var/tmp/requirements.txt && rm /var/tmp/requirements.txt && rm -rf /root/.cache/ | |
COPY . /opt/cfa/src/debunkbot/ | |
# Update PYTHONPATH | |
ENV PYTHONPATH=$PYTHONPATH:/opt/cfa/src/debunkbot/ | |
CMD [ "python3", "/opt/cfa/src/debunkbot/manage.py", "runserver", "0.0.0.0:8000" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment