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: # authors:
# - tycrek <t@tycrek.com> (https://tycrek.com/) # - tycrek <t@tycrek.com> (https://tycrek.com/)
# - Zusier <zusier@pm.me> (https://github.com/Zusier) # - Zusier <zusier@pm.me> (https://github.com/Zusier)
@ -12,11 +12,10 @@ WORKDIR /opt/ass/
# Copy directory files (config.json, source files etc.) # Copy directory files (config.json, source files etc.)
COPY . ./ COPY . ./
# Update npm to at least v7.x.x # Update npm to at least v7.x.x,
RUN npm i -g npm@>=7 # then install dependencies
RUN npm i -g npm@>=7 typescript && \
# Install dependencies npm i --save-dev
RUN npm i
# Ensure these directories & files exist for compose volumes # Ensure these directories & files exist for compose volumes
RUN mkdir -p /opt/ass/uploads/thumbnails/ && \ 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: # authors:
# - tycrek <t@tycrek.com> (https://tycrek.com/) # - tycrek <t@tycrek.com> (https://tycrek.com/)
# - Zusier <zusier@pm.me> (https://github.com/Zusier) # - Zusier <zusier@pm.me> (https://github.com/Zusier)
@ -11,7 +11,6 @@ services:
restart: unless-stopped restart: unless-stopped
ports: ports:
- "40115:40115" - "40115:40115"
- "45375:45375"
volumes: volumes:
- ./uploads:/opt/ass/uploads - ./uploads:/opt/ass/uploads
- ./share:/opt/ass/share - ./share:/opt/ass/share

Loading…
Cancel
Save