mirror of
https://github.com/pinry/pinry.git
synced 2026-01-10 17:22:09 +01:00
15 lines
270 B
Docker
15 lines
270 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 14
|
|
RUN npm -g install yarn
|
|
|
|
WORKDIR /app
|
|
RUN pip install poetry
|
|
RUN poetry install
|
|
RUN rm -fr /app/*
|