Files
docker-inventaire/Dockerfile.inventaire
2022-02-12 17:52:09 +01:00

13 lines
367 B
Docker
Executable File

FROM node:16-bullseye
RUN apt-get update \
&& apt-get install -y curl zsh git graphicsmagick inotify-tools \
&& apt-get clean
# Default to the same user as the host (override from command lin if needed)
# Known benefits:
# - allows to handle leveldb with level-party from both the host and container at the same time
USER 1000:1000
CMD ["npm", "run", "watch"]