diff --git a/Dockerfile b/Dockerfile index dfb1148..006d47b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# ass Dockerfile v0.1.0 +# ass Dockerfile v0.2.0 # authors: # - tycrek (https://tycrek.com/) # - Zusier (https://github.com/Zusier) @@ -12,11 +12,10 @@ WORKDIR /opt/ass/ # Copy directory files (config.json, source files etc.) COPY . ./ -# Update npm to at least v7.x.x -RUN npm i -g npm@>=7 - -# Install dependencies -RUN npm i +# Update npm to at least v7.x.x, +# then install dependencies +RUN npm i -g npm@>=7 typescript && \ + npm i --save-dev # Ensure these directories & files exist for compose volumes RUN mkdir -p /opt/ass/uploads/thumbnails/ && \ diff --git a/compose.yaml b/compose.yaml index 6ffaac5..5ecfe03 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,4 +1,4 @@ -# ass Docker compose.yaml v0.1.0 +# ass Docker compose.yaml v0.1.1 # authors: # - tycrek (https://tycrek.com/) # - Zusier (https://github.com/Zusier) @@ -11,7 +11,6 @@ services: restart: unless-stopped ports: - "40115:40115" - - "45375:45375" volumes: - ./uploads:/opt/ass/uploads - ./share:/opt/ass/share