16 lines
316 B
Docker
16 lines
316 B
Docker
FROM python:3.6
|
|
ENV PYTHONUNBUFFERED 1
|
|
RUN mkdir /env
|
|
RUN mkdir /app
|
|
|
|
RUN pip install pipenv
|
|
|
|
COPY Pipfile /Pipfile
|
|
COPY Pipfile.lock /Pipfile.lock
|
|
|
|
ADD ./server/ /app/
|
|
#RUN apt-get update && apt-get -y install netcat && apt-get clean
|
|
#RUN apt-get -y install netcat
|
|
WORKDIR /app
|
|
RUN pipenv install --system --deploy
|