You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
270 B

  1. FROM python:3.7-stretch
  2. ENV PYTHONUNBUFFERED 1
  3. WORKDIR /app
  4. COPY . /app
  5. # config nodejs
  6. RUN curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
  7. RUN bash n 18
  8. RUN npm -g install pnpm
  9. WORKDIR /app
  10. RUN pip install poetry
  11. RUN poetry install
  12. RUN rm -fr /app/*