Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on February 3, 2019 at 06:12 PM

New Paste 1 (Auto Detect)

FROM ubuntu:18.04
MAINTAINER Raj <raj@fake.email>

ENV LC_ALL=en_US.utf-8
ENV LANG=en_US.utf-8
ENV VENV=/app
ENV PYTHONUNBUFFERED 1

RUN apt-get -yqq update && apt-get install -yqq python3 python3-dev python3-pip
RUN mkdir /app
COPY Pipfile Pipfile.lock /app/
COPY newsite.conf /etc/nginx/conf.d

RUN pip3 install pipenv
RUN pipenv install --dev

COPY /volumes/unitesite /app/unitesite
COPY /services_config/pyramid_app_config/setup.py /app/setup.py
COPY /services_config/pyramid_app_config/README.txt /app/README.txt
COPY /services_config/pyramid_app_config/CHANGES.txt /app/CHANGES.txt
RUN /app/venv/bin/pip install -e "./app[testing]"

COPY /services_config/pyramid_app_config/development.ini /app/unitesite_config/development.ini

WORKDIR /app