diff options
author | Jonathan DeMasi <jrdemasi@gmail.com> | 2020-03-02 22:14:02 -0700 |
---|---|---|
committer | Jonathan DeMasi <jrdemasi@gmail.com> | 2020-03-02 22:14:02 -0700 |
commit | c68dea1afc7763ea3e552719f06fe450b47e4cbe (patch) | |
tree | 75d5041ed8a3021692018e0b93cffcba3c8ac075 /Dockerfile | |
parent | be102d65e5374287d5bba5d67d4903257ffc744a (diff) | |
download | jthanio-c68dea1afc7763ea3e552719f06fe450b47e4cbe.tar jthanio-c68dea1afc7763ea3e552719f06fe450b47e4cbe.tar.gz jthanio-c68dea1afc7763ea3e552719f06fe450b47e4cbe.tar.bz2 jthanio-c68dea1afc7763ea3e552719f06fe450b47e4cbe.tar.lz jthanio-c68dea1afc7763ea3e552719f06fe450b47e4cbe.tar.xz jthanio-c68dea1afc7763ea3e552719f06fe450b47e4cbe.tar.zst jthanio-c68dea1afc7763ea3e552719f06fe450b47e4cbe.zip |
we're never interacting with whales here
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 130c09d..0000000 --- a/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -# Use an official Python runtime as a parent image -FROM python:3.7 -LABEL maintainer="hello@wagtail.io" - -# Set environment varibles -ENV PYTHONUNBUFFERED 1 -ENV DJANGO_ENV dev - -COPY ./requirements.txt /code/requirements.txt -RUN pip install --upgrade pip -# Install any needed packages specified in requirements.txt -RUN pip install -r /code/requirements.txt -RUN pip install gunicorn - -# Copy the current directory contents into the container at /code/ -COPY . /code/ -# Set the working directory to /code/ -WORKDIR /code/ - -RUN python manage.py migrate - -RUN useradd wagtail -RUN chown -R wagtail /code -USER wagtail - -EXPOSE 8000 -CMD exec gunicorn jthanio.wsgi:application --bind 0.0.0.0:8000 --workers 3 |