Skip to content

Commit 55467ad

Browse files
committed
Don't use nodemon for Docker image
1 parent 16a4589 commit 55467ad

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ FROM node:15-alpine
33
WORKDIR /usr/src/app
44
COPY package*.json ./
55

6+
RUN yarn install
7+
COPY . .
8+
69
RUN apk add --no-cache ffmpeg
7-
# COPY . .
810

911
EXPOSE 3000
10-
CMD [ "nodemon", "start" ]
12+
CMD [ "yarn", "start" ]

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
22
"name": "ffmpeg-queue",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "FIFO queue server for FFmpeg, used for uwutube",
55
"main": "app.js",
66
"repository": "https://github.com/uwutube/ffmpeg-queue",
77
"author": "xezno",
88
"license": "AGPL-3.0",
9+
"scripts": {
10+
"start": "node app.js"
11+
},
912
"dependencies": {
1013
"fastify": "^3.9.2",
1114
"fastify-multipart": "^3.3.1",

0 commit comments

Comments
 (0)