FROM python:alpine

RUN apk add --no-cache build-base

# Install app
COPY . /app
WORKDIR /app

# Install dependencies
RUN pip install --upgrade pip && pip install -r requirements.txt

# Run Battlesnake
CMD [ "python", "main.py" ]
