Skip to content

Commit

Permalink
fixed dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
alphaRomeo323 committed Jun 14, 2024
1 parent cfda40a commit f9bafdf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
/src/types/schemas
4 changes: 2 additions & 2 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:20-alpine
WORKDIR /opt/nodecg
RUN apk add --no-cache git make gcc python3 musl-dev g++ && npm install --global nodecg-cli && nodecg setup
RUN apk add --no-cache git make gcc python3 musl-dev g++ trash-cli && npm install --global nodecg-cli && nodecg setup
COPY . /opt/nodecg/bundles/tpc3stream/
WORKDIR /opt/nodecg/bundles/tpc3stream/
RUN npm i && npm run build && apk del git make gcc python3 musl-dev g++
RUN npm i && npm run build && apk del git make gcc python3 musl-dev g++ trash-cli
WORKDIR /opt/nodecg
CMD ["node", "index.js"]
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@
"nodemon": "*",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"trash-cli": "*",
"typescript": "^5.1.3"
},
"license": "MIT"
Expand Down

0 comments on commit f9bafdf

Please sign in to comment.