fix: Remove rootless Docker as it causes issues for some hosts

resolves: #147
pull/148/head
tycrek 2 years ago
parent 46678bd96f
commit 2045b3f034
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -1,4 +1,4 @@
# ass Dockerfile v0.3.0 # ass Dockerfile v0.3.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)
@ -17,12 +17,7 @@ RUN mkdir -p /opt/ass/uploads/thumbnails/ && \
mkdir -p /opt/ass/share/ && \ mkdir -p /opt/ass/share/ && \
touch /opt/ass/config.json && \ touch /opt/ass/config.json && \
touch /opt/ass/auth.json && \ touch /opt/ass/auth.json && \
touch /opt/ass/data.json && \ touch /opt/ass/data.json
# Set permissions for rootless user
chown -R node:node /opt/ass
# Set the user
USER node
# Install dependencies as rootless user # Install dependencies as rootless user
RUN npm i --save-dev && \ RUN npm i --save-dev && \

Loading…
Cancel
Save