mirror of
https://github.com/pinry/pinry.git
synced 2025-11-16 09:55:50 +01:00
Feature: Use dockerfile to build development env
This commit is contained in:
committed by
Isaac Bythewood
parent
45efddae93
commit
2c92cf45b7
11
Dockerfile
11
Dockerfile
@@ -1,8 +1,13 @@
|
|||||||
FROM python:3.6
|
FROM python:3.7-stretch
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . /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 pip install pipenv
|
||||||
RUN pipenv install --three --system
|
RUN pipenv install --three --system --dev
|
||||||
|
|||||||
Reference in New Issue
Block a user