mirror of https://github.com/tycrek/ass
parent
121a7cd9dc
commit
e5d627e8fc
@ -1,20 +1,10 @@
|
|||||||
# ass Dockerfile v0.3.1
|
# ass Dockerfile v0.3.2
|
||||||
# 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)
|
||||||
|
|
||||||
# Node 18 image
|
FROM node:20.8.0
|
||||||
FROM node:18.16.1
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /opt/ass-src/
|
WORKDIR /opt/ass-src/
|
||||||
|
|
||||||
# Copy directory files (config.json, source files etc.)
|
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
RUN npm i --save-dev && npm run build
|
||||||
# Install dependencies as rootless user
|
|
||||||
RUN npm i --save-dev && \
|
|
||||||
npm run build
|
|
||||||
|
|
||||||
# Start ass
|
|
||||||
CMD npm start
|
CMD npm start
|
||||||
|
Loading…
Reference in new issue