Petits fix
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
|
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:5.0.5-buster-slim-amd64 AS base
|
FROM mcr.microsoft.com/dotnet/aspnet:5.0.6-buster-slim-amd64 AS base
|
||||||
#FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve",
|
"start": "ng serve",
|
||||||
"build": "ng build --prod=true --build-optimizer --aot=true --optimization=true --progress=true --sourceMap=false",
|
"build": "ng build --configuration production --build-optimizer --aot=true --optimization=true --progress=true --sourceMap=false",
|
||||||
"test": "ng test",
|
"test": "ng test",
|
||||||
"lint": "ng lint",
|
"lint": "ng lint",
|
||||||
"e2e": "ng e2e"
|
"e2e": "ng e2e"
|
||||||
|
|||||||
8
doc.txt
8
doc.txt
@@ -1,2 +1,6 @@
|
|||||||
To build an image "toto" with the version "0.1": docker build . -t toto:0.1
|
To build an image "toto" with the version "0.1": docker build . -t skydivelogs:1.2.6
|
||||||
To run ab image to container with volume : docker run -v C:\toto\logs\config:/app/Front/config -v C:\toto\logs\db:/app/API/Data -p 5080:80/tcp --name Test -it toto:0.1
|
To run ab image to container with volume : docker run -v C:\toto\logs\config:/app/Front/config -v C:\toto\logs\db:/app/API/Data -p 5080:80/tcp --name Test -it skydivelogs:0.1
|
||||||
|
|
||||||
|
docker save --output skydivelogs-1.2.6.tar skydivelogs:1.2.6
|
||||||
|
|
||||||
|
scp -P 5022 skydivelogs-1.2.6.tar administrator@51.75.68.58:~
|
||||||
|
|||||||
Reference in New Issue
Block a user