node build fixed
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
ARG TAG
|
||||
|
||||
FROM node:latest
|
||||
|
||||
# Install dependencies
|
||||
@@ -13,10 +15,11 @@ RUN curl -s https://api.github.com/repos/5rahim/seanime/releases/latest | grep '
|
||||
TAG=$(cat tag.file) && \
|
||||
wget https://github.com/5rahim/seanime/archive/refs/tags/${TAG}.tar.gz && \
|
||||
tar -xzvf ${TAG}.tar.gz && \
|
||||
rm ${TAG}.tar.gz tag.file
|
||||
rm ${TAG}.tar.gz tag.file && \
|
||||
mv seanime-* seanime
|
||||
|
||||
# Set working directory to the extracted source code
|
||||
WORKDIR /seanime-${TAG}
|
||||
WORKDIR /seanime
|
||||
|
||||
# Build the web interface
|
||||
RUN cd seanime-web && \
|
||||
|
||||
Reference in New Issue
Block a user