Dockerfile 353 Bytes
Newer Older
David Haynes's avatar
David Haynes committed
1
# Build on top of the python image and install any external packages
2
FROM python:3.7
3
RUN apt-get update
4 5
RUN apt-get install netcat -y

David Haynes's avatar
David Haynes committed
6 7 8 9 10 11
# Set enviornment variables
ENV PYTHONUNBUFFERED 1

# Copy over all project files into /go/
RUN mkdir /go/
WORKDIR /go/
12
ADD . /go/
David Haynes's avatar
David Haynes committed
13 14

# Install pip dependecies
15 16
RUN pip install pipenv
RUN pipenv install --system --deploy