mirror of
https://github.com/pinry/pinry.git
synced 2025-11-15 17:35:50 +01:00
15 lines
293 B
Docker
15 lines
293 B
Docker
FROM python:3.7-stretch
|
|
ENV PYTHONUNBUFFERED 1
|
|
WORKDIR /app
|
|
COPY . /app
|
|
|
|
# config nodejs
|
|
RUN curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
|
|
RUN bash n 10
|
|
RUN npm -g install yarn
|
|
|
|
WORKDIR /app
|
|
RUN pip install pipenv
|
|
RUN pipenv install --three --system --dev
|
|
RUN rm -fr /app/*
|