Initial commit
This commit is contained in:
20
app/Dockerfile
Normal file
20
app/Dockerfile
Normal file
@ -0,0 +1,20 @@
|
||||
# pull official base image
|
||||
FROM python:3.7.2
|
||||
|
||||
# set environment varibles
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
# set work directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# install dependencies
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install pipenv
|
||||
COPY ./Pipfile /usr/src/app/Pipfile
|
||||
RUN pipenv install --skip-lock --system --dev
|
||||
|
||||
# copy project
|
||||
COPY . /usr/src/app/
|
||||
|
||||
|
Reference in New Issue
Block a user