Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 287ffe0

Browse files
Troubleshooting Docker and MDNS
1 parent 41793cf commit 287ffe0

File tree

6 files changed

+166
-95
lines changed

6 files changed

+166
-95
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/node_modules

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
FROM node:12
22

3+
# Install OS Dependency
34
RUN apt update && apt install libavahi-compat-libdnssd-dev -y
45

56
RUN npm install -g typescript rimraf
6-
# Add package file
7-
COPY package*.json ./
87

9-
# Install OS Dependency
8+
# Add package file
9+
COPY package.json ./
1010

1111
# Install deps
1212
RUN npm i
@@ -20,4 +20,4 @@ RUN npm run build
2020
# Expose port 3000
2121
EXPOSE 3000
2222

23-
CMD npm run start
23+
CMD tail -f /dev/null

dist/index.js

Lines changed: 6 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)