Skip to content

Commit fd2bdb3

Browse files
committed
Final fixes for docker builds
1 parent a7e2b77 commit fd2bdb3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM node:boron
22

33
RUN mkdir /app
4+
RUN mkdir /app/src
5+
RUN mkdir /app/bin
46

57
COPY src /app/src
68
COPY bin /app/bin
@@ -14,4 +16,4 @@ RUN npm run build
1416

1517
EXPOSE 4444
1618

17-
CMD [ "node", "/src/bin/ap-npm", "serve", "--config=/ap-npm/config.json"]
19+
CMD [ "node", "/app/bin/ap-npm", "serve", "--config=/ap-npm/config.json"]

src/commands/serve.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default class {
2222
key: key,
2323
cert: cert
2424
}, this.app).listen(this.port, this.hostname, () => {
25-
console.log("ap-npm is listening on" + this.hostname + ":" + this.port + '\n');
25+
console.log("ap-npm is listening on " + this.hostname + ":" + this.port + '\n');
2626
});
2727
} else {
2828
this.config.ssl.enabled = false;

0 commit comments

Comments
 (0)