Reviewed-on: #5 Co-authored-by: sandre <perso@sebastienandre.com> Co-committed-by: sandre <perso@sebastienandre.com>
12 lines
552 B
Plaintext
12 lines
552 B
Plaintext
To build an image "skydivelogs" with the version "1.6.0":
|
|
podman build . -t skydivelogs:1.6.0
|
|
|
|
To run ab image to container with volume :
|
|
podman run -v ./Front/skydivelogs-app/src/config:/usr/share/nginx/html/config:z -v ./Back/skydiveLogs-api/Data:/app/Data:z -d -p 5080:80/tcp --name Skydivelogs-1.6.0 -it skydivelogs:1.6.0
|
|
|
|
To save the image before to updload to the server :
|
|
podman save --output skydivelogs-1.6.0.tar skydivelogs:1.6.0
|
|
|
|
Updload to the server :
|
|
scp -P 5022 skydivelogs-1.6.0.tar administrator@51.75.68.58:~
|