Fix Docker maybe

pull/126/head^2
tycrek 3 years ago
parent 6c16931a5d
commit c491070174
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -15,8 +15,7 @@ COPY . ./
# Update npm to at least npm 8,
# then install dependencies
RUN npm i -g npm@8 typescript && \
npm i --save-dev && \
npm run build
npm i --save-dev
# Ensure these directories & files exist for compose volumes
RUN mkdir -p /opt/ass/uploads/thumbnails/ && \
@ -26,4 +25,4 @@ RUN mkdir -p /opt/ass/uploads/thumbnails/ && \
touch /opt/ass/data.json
# Start ass
CMD npm start
CMD npm run dev

@ -6,7 +6,7 @@
services:
ass:
build: .
command: npm start
command: npm run dev
container_name: ass-docker
restart: unless-stopped
ports:

Loading…
Cancel
Save