mirror of
https://github.com/pinry/pinry.git
synced 2025-11-15 17:35: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
|
||||
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
|
||||
RUN pipenv install --three --system --dev
|
||||
|
||||
Reference in New Issue
Block a user