|
|
@ -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/ && \
|
|
|
|