You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ass/Dockerfile

30 lines
621 B

# ass Dockerfile v0.1.0
# authors:
# - tycrek <t@tycrek.com> (https://tycrek.com/)
# - Zusier <zusier@pm.me> (https://github.com/Zusier)
# Node 14 image
FROM node:14.17.3
# Set working directory
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
3 years ago
# Ensure these directories & files exist for compose volumes
RUN mkdir -p /opt/ass/uploads/thumbnails/
RUN mkdir -p /opt/ass/share/
RUN touch /opt/ass/config.json
RUN touch /opt/ass/auth.json
RUN touch /opt/ass/data.json
# Start ass
CMD npm start