mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-02 09:11:29 +03:00
Install dependencies first, remove duplicated workdir
This commit is contained in:
@@ -7,12 +7,12 @@ apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testin
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ./ /app/
|
COPY package.json /app/
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
|
COPY ./ /app/
|
||||||
|
|
||||||
EXPOSE 17442
|
EXPOSE 17442
|
||||||
|
|
||||||
CMD [ "node", "app.js" ]
|
CMD [ "node", "app.js" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user