Files
snake-python/Dockerfile
T

14 lines
230 B
Docker

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" ]