Improved Docker files

pull/62/head
tycrek 3 years ago
parent 285fbd7502
commit b25b90fd89
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -1,4 +1,4 @@
# ass Dockerfile v0.1.0
# ass Dockerfile v0.2.0
# authors:
# - tycrek <t@tycrek.com> (https://tycrek.com/)
# - Zusier <zusier@pm.me> (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/ && \

@ -1,4 +1,4 @@
# ass Docker compose.yaml v0.1.0
# ass Docker compose.yaml v0.1.1
# authors:
# - tycrek <t@tycrek.com> (https://tycrek.com/)
# - Zusier <zusier@pm.me> (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

Loading…
Cancel
Save