forget-cancellare-vecchi-toot/Dockerfile

15 lines
307 B
Docker
Raw Normal View History

2022-07-30 09:10:43 +02:00
FROM python:3 AS builder
WORKDIR /usr/src/app
COPY . .
# install python stuff
RUN python -m pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
# build assets
RUN apt-get update -qq && apt-get install -qq nodejs npm
RUN npm install --save-dev
RUN doit
2022-07-31 01:21:52 +02:00
VOLUME ["/var/run/celery"]