mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
22 lines
524 B
Docker
22 lines
524 B
Docker
# For more information, please refer to https://aka.ms/vscode-docker-python
|
|
FROM python:3.7-slim
|
|
|
|
# Keeps Python from generating .pyc files in the container
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
# Turns off buffering for easier container logging
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
# Install pip requirements
|
|
COPY requirements.txt .
|
|
RUN apt-get update
|
|
RUN apt-get install -y vim
|
|
RUN apt-get install -y gcc
|
|
RUN apt-get install -y g++
|
|
RUN apt-get install -y cmake
|
|
RUN python -m pip install -r requirements.txt
|
|
|
|
WORKDIR /content
|
|
COPY . /content
|
|
|
|
|