TEST docker

pull/29/head
tycrek 3 years ago
parent e71f5fcd5e
commit 04ff0a0b03
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -18,5 +18,12 @@ RUN npm i -g npm@>=7
# Install dependencies
RUN npm i
# 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

@ -18,7 +18,6 @@ services:
- ./auth.json:/opt/ass/auth.json
- ./data.json:/opt/ass/data.json
- ./share:/opt/ass/share
- weird:/opt/ass/weird
tmpfs: /tmp # temp files such as uploads are stored here
working_dir: /opt/ass # this is where the ass files are located within the container
tty: true
@ -27,11 +26,3 @@ services:
- ASS_ENV=docker # docker, local, production (not widely used yet)
- LOG_LEVEL=debug # debug, info, warn, error
- FORCE_COLOR=3 # force colour output
volumes:
weird:
driver: local
driver_opts:
o: bind
type: none
device: ./weirdness
Loading…
Cancel
Save