16 lines
388 B
Docker
16 lines
388 B
Docker
FROM python:3.11.4-slim
|
|
# FROM continuumio/conda-ci-linux-64-python3.8
|
|
# FROM continuumio/miniconda3
|
|
|
|
# Install app
|
|
COPY . /app
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
RUN pip install --upgrade pip && pip install -r requirements.txt
|
|
# RUN conda env create -f environment.yaml
|
|
# ENV CONDA_DEFAULT_ENV battlesnake
|
|
|
|
# Run Battlesnake
|
|
ENTRYPOINT [ "python", "server.py" ]
|
|
CMD [ "starter_snake" ] |