dockerfile2 Dockerfile 에서 apt로 Nginx 설치시 locale 선택 문제 Dockerfile 내에서 nginx 설치 시(apt install nginx) locale 선택때문에 진행이 안될 때, 아래 코드를 dockerfile nginx 설치 문 이전에 넣으면 해결된다 ENV TZ=Asia/Seoul RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 2020. 11. 19. Jupyter notebook with Dockerfile jupyter notebook을 docker에서 실행하기 Dockerfile # tf2.3.0 docker makefile FROM tensorflow/tensorflow:2.3.0-gpu LABEL maintainer="chan" RUN apt-get update && apt-get install -y --no-install-recommends \ ssh git vim curl && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* COPY requirements.txt /tmp/requirements.txt RUN pip3 install --upgrade pip && \ pip3 install setuptools wheel && \ pip3 install -r /.. 2020. 10. 29. 이전 1 다음