You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
YoutubeDL-Material/backend/Dockerfile

24 lines
502 B
Docker

FROM alpine:3.11
RUN \
apk add --update npm python ffmpeg && \
apk add --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
atomicparsley
# Change directory so that our commands run inside this new directory
WORKDIR /app
# Copy dependency definitions
COPY ./ /app/
# Change directory to backend
WORKDIR /app
# Install dependencies on backend
RUN npm install
# Expose the port the app runs in
EXPOSE 17442
# Run the specified command within the container.
CMD [ "node", "app.js" ]