docker run --name git-blog -p 9051:80 -v /home/awya5/code/INAUGURATE-Ryong.github.io:/usr/share/nginx/html -d nginx
sudo docker commit git-blog memento12/blog:0.1.0
sudo docker push memento12/blog:0.1.0
flyctl launch
vi fly.toml
# fly.toml app configuration file generated for inaugurate-ryong-github-io on 2024-02-13T17:47:47+09:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'inaugurate-ryong-github-io'
primary_region = 'nrt'
[build]
img="memento12/blog:0.1.0" <- 추가
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[vm]]
cpu_kind = 'shared'
cpus = 1
memory_mb = 256
수정 후
flyctl deploy
Content type
Image
Digest
sha256:991652820…
Size
133.5 MB
Last updated
over 2 years ago
docker pull memento12/blog:0.2.0