Skip to content

Commit

Permalink
Create Dockerfile.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
realcommang committed Nov 19, 2023
1 parent 78e03bb commit d6834a2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 기반 이미지 설정
FROM ubuntu:20.04

# 필요한 패키지 설치
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y python3 python3-pip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# 작업 디렉토리 설정
WORKDIR /app

# 주피터 노트북 설치
RUN pip3 install notebook

# 주피터 노트북 실행
CMD ["jupyter", "notebook", "--ip=0.0.0.0", "--port=8888", "--no-browser", "--allow-root"]

0 comments on commit d6834a2

Please sign in to comment.