Commit 55eda8db authored by Erlend Ydse's avatar Erlend Ydse
Browse files

Do installs earlier

parent 79bb34b9
......@@ -5,6 +5,12 @@ FROM python:3.8.5-slim
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
# Add sqlite3 to enable dbshell command for managing the database
RUN apt-get update -y && apt-get install sqlite3 -y
# Upgrade pip
RUN pip install --upgrade pip
# Make a new directory to put our code in.
RUN mkdir /code
......@@ -15,12 +21,6 @@ WORKDIR /code
# Copy the of the code.
COPY . /code/
# Add sqlite3 to enable dbshell command for managing the database
RUN apt-get update -y && apt-get install sqlite3 -y
# Upgrade pip
RUN pip install --upgrade pip
# Install the requirements.
RUN pip install -r requirements.txt
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment