Skip to content

H. Latihan Soal

Delsea12 edited this page Apr 28, 2024 · 2 revisions
  1. Buatlah container menggunakan base image nginx, serta definisikan port 5000 agar bisa diakses melalui localhost, dan jangan lupa untuk stop dan remove setelah berhasil
  2. Buatlah Dockerfile dengan base Image adalah python:3.8 dan file index.py di dalam folder www dengan tulisan "Hello world". Atur direktori di /var/www/html serta definisikan port 5003. Setelah itu, cobalah akses pada port 5003

Clone this wiki locally