npm cleanup
This commit is contained in:
Родитель
1c9135a03a
Коммит
2691f25086
17
Dockerfile
17
Dockerfile
|
@ -1,16 +1,21 @@
|
|||
FROM hananiel/dotnetcore2.2.101
|
||||
WORKDIR /app
|
||||
COPY . ./
|
||||
COPY packages ./
|
||||
COPY shared.props ./
|
||||
COPY stylecop.json ./
|
||||
COPY nuget.config ./
|
||||
COPY src ./
|
||||
|
||||
WORKDIR ./src
|
||||
|
||||
RUN dotnet restore
|
||||
|
||||
RUN dotnet publish InitializrApi.csproj -o out
|
||||
RUN dotnet publish -f netcoreapp2.2 -o out
|
||||
|
||||
|
||||
#FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-alpine AS runtime
|
||||
#WORKDIR /app
|
||||
#COPY --from=build /app/src/InitializrApi/out ./
|
||||
COPY .templateengine /root/.templateengine/
|
||||
RUN dotnet new console -o /root/test.zip
|
||||
#COPY .templateengine /root/.templateengine/
|
||||
#RUN dotnet new console -o /root/test.zip
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["dotnet", "out/InitializrApi.dll"]
|
||||
ENTRYPOINT ["dotnet", "out/Steeltoe.Initializr.dll"]
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -3,9 +3,8 @@
|
|||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"bootstrap": "^4.1.3",
|
||||
"caniuse-lite": "^1.0.30000974",
|
||||
"form-serialize": "^0.7.2",
|
||||
"jquery": "^3.4.1",
|
||||
"react": "^16.0.0",
|
||||
"react-autosuggest": "^9.4.3",
|
||||
"react-bootstrap-typeahead": "^4.0.0-alpha.10",
|
||||
|
@ -13,7 +12,7 @@
|
|||
"react-ga": "^2.5.7",
|
||||
"react-router-bootstrap": "^0.24.4",
|
||||
"react-router-dom": "^4.2.2",
|
||||
"react-scripts": "^3.0.0",
|
||||
"react-scripts": "^3.0.1",
|
||||
"reactstrap": "^6.3.0",
|
||||
"rimraf": "^2.6.2"
|
||||
},
|
||||
|
@ -39,7 +38,7 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "10.15.x",
|
||||
"npm": "6.4.x"
|
||||
"npm": "6.9.x"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
|
Загрузка…
Ссылка в новой задаче