You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
475 B
37 lines
475 B
from node:16-alpine
|
|
|
|
RUN apk update
|
|
|
|
RUN apk add --no-cache \
|
|
sudo \
|
|
curl \
|
|
build-base \
|
|
g++ \
|
|
libpng \
|
|
libpng-dev \
|
|
jpeg-dev \
|
|
pango-dev \
|
|
cairo-dev \
|
|
giflib-dev \
|
|
python3
|
|
|
|
RUN apk add --no-cache tini
|
|
|
|
RUN apk add ffmpeg
|
|
|
|
RUN yarn global add nodemon
|
|
|
|
WORKDIR /src/app
|
|
|
|
COPY ./package.json ./package-lock.json /src/app/
|
|
|
|
RUN npm install
|
|
|
|
COPY . /src/app
|
|
|
|
EXPOSE 3005
|
|
|
|
ENTRYPOINT ["/sbin/tini", "--"]
|
|
|
|
CMD [ "nodemon", "app.js" ]
|
|
|
|
|