Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
44f2aab2f6 | |||
b69315f1d3 | |||
7d20804986 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mojoio/docker",
|
"name": "@mojoio/docker",
|
||||||
"version": "1.0.68",
|
"version": "1.0.70",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mojoio/docker",
|
"name": "@mojoio/docker",
|
||||||
"version": "1.0.68",
|
"version": "1.0.70",
|
||||||
"description": "easy communication with docker remote api from node, TypeScript ready",
|
"description": "easy communication with docker remote api from node, TypeScript ready",
|
||||||
"private": false,
|
"private": false,
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -65,8 +65,8 @@ export class DockerService {
|
|||||||
const containerPort = portArray[1];
|
const containerPort = portArray[1];
|
||||||
ports.push({
|
ports.push({
|
||||||
"Protocol": "tcp",
|
"Protocol": "tcp",
|
||||||
"PublishedPort": containerPort,
|
"PublishedPort": parseInt(containerPort, 10),
|
||||||
"TargetPort": hostPort
|
"TargetPort": parseInt(hostPort, 10)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user