зеркало из https://github.com/microsoft/FLAML.git
24 строки
926 B
Docker
24 строки
926 B
Docker
#-------------------------------------------------------------------------------------------------------------
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# Licensed under the MIT License. See LICENSE file in the project root for license information.
|
|
#-------------------------------------------------------------------------------------------------------------
|
|
|
|
FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.9
|
|
|
|
#
|
|
# Update the OS and maybe install packages
|
|
#
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update \
|
|
&& apt-get upgrade -y \
|
|
&& apt-get -y install --no-install-recommends build-essential npm \
|
|
&& apt-get autoremove -y \
|
|
&& apt-get clean -y \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
ENV DEBIAN_FRONTEND=dialog
|
|
|
|
# RUN pip3 --disable-pip-version-check --no-cache-dir install flaml
|
|
# For docs
|
|
RUN npm install --global yarn
|
|
RUN pip install pydoc-markdown==4.5.0
|