Reviewed-on: #4 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.5.5":
|
|
podman build . -t skydivelogs:1.5.5
|
|
|
|
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.5.5 -it skydivelogs:1.5.5
|
|
|
|
To save the image before to updload to the server :
|
|
podman save --output skydivelogs-1.5.5.tar skydivelogs:1.5.5
|
|
|
|
Updload to the server :
|
|
scp -P 5022 skydivelogs-1.5.5.tar administrator@51.75.68.58:~
|