1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
wagtail-website-2018-spike/Dockerfile

39 lines
699 B
Docker
Raw Normal View History

2018-07-22 22:03:03 +01:00
FROM ubuntu:18.04
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8
RUN mkdir /app
2018-07-22 22:03:03 +01:00
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
nodejs \
npm \
git
RUN pip3 install pipenv
WORKDIR /app
COPY Pipfile Pipfile
COPY Pipfile.lock Pipfile.lock
2018-07-27 21:37:11 +01:00
RUN pipenv install --deploy --system --dev
2018-07-22 21:30:19 +01:00
COPY package.json package.json
COPY package-lock.json package-lock.json
2018-07-22 22:03:03 +01:00
RUN npm install
2018-07-22 21:30:19 +01:00
COPY manage.py /app/manage.py
COPY project/ /app/project/
COPY static/ /app/static/
2018-07-23 09:25:00 +01:00
COPY scripts/ /app/scripts/
2018-07-22 21:30:19 +01:00
COPY templates/ /app/templates/
2018-07-27 21:48:42 +01:00
COPY .sass-lint.yml /app/.sass-lint.yml
COPY .eslintrc /app/.eslintrc
2018-08-12 20:18:31 +01:00
COPY Procfile /app/Procfile
2018-07-27 21:37:11 +01:00
RUN BASE_URL= ./scripts/build-static.sh
EXPOSE 8000