Fix Docker maybe

pull/126/head^2
tycrek 2 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, # Update npm to at least npm 8,
# then install dependencies # then install dependencies
RUN npm i -g npm@8 typescript && \ RUN npm i -g npm@8 typescript && \
npm i --save-dev && \ npm i --save-dev
npm run build
# 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/ && \
@ -26,4 +25,4 @@ RUN mkdir -p /opt/ass/uploads/thumbnails/ && \
touch /opt/ass/data.json touch /opt/ass/data.json
# Start ass # Start ass
CMD npm start CMD npm run dev

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

Loading…
Cancel
Save