mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-18 10:31:29 +03:00
Merge branch 'master' of https://github.com/Tzahi12345/YoutubeDL-Material
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# YoutubeDL-Material
|
# YoutubeDL-Material
|
||||||
[](https://hub.docker.com/repository/docker/tzahi12345/youtubedl-material)
|
[](https://hub.docker.com/r/tzahi12345/youtubedl-material)
|
||||||
[](https://hub.docker.com/repository/docker/tzahi12345/youtubedl-material)
|
[](https://hub.docker.com/r/tzahi12345/youtubedl-material)
|
||||||
[](https://heroku.com/deploy?template=https://github.com/Tzahi12345/YoutubeDL-Material)
|
[](https://heroku.com/deploy?template=https://github.com/Tzahi12345/YoutubeDL-Material)
|
||||||
[](https://github.com/Tzahi12345/YoutubeDL-Material/issues)
|
[](https://github.com/Tzahi12345/YoutubeDL-Material/issues)
|
||||||
[](https://github.com/Tzahi12345/YoutubeDL-Material/blob/master/LICENSE.md)
|
[](https://github.com/Tzahi12345/YoutubeDL-Material/blob/master/LICENSE.md)
|
||||||
|
|||||||
@@ -1,2 +1,4 @@
|
|||||||
node_modules
|
node_modules
|
||||||
*.exe
|
*.exe
|
||||||
|
docker-compose.yml
|
||||||
|
Dockerfile
|
||||||
|
|||||||
@@ -1,24 +1,18 @@
|
|||||||
FROM alpine:3.11
|
FROM alpine:3.11
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apk add --update npm python ffmpeg && \
|
apk add --no-cache npm python ffmpeg && \
|
||||||
apk add --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
|
apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
||||||
atomicparsley
|
atomicparsley
|
||||||
|
|
||||||
# Change directory so that our commands run inside this new directory
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy dependency definitions
|
COPY package.json /app/
|
||||||
COPY ./ /app/
|
|
||||||
|
|
||||||
# Change directory to backend
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
# Install dependencies on backend
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
# Expose the port the app runs in
|
COPY ./ /app/
|
||||||
|
|
||||||
EXPOSE 17442
|
EXPOSE 17442
|
||||||
|
|
||||||
# Run the specified command within the container.
|
CMD [ "node", "app.js" ]
|
||||||
CMD [ "node", "app.js" ]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user