added base Dockerfile

This commit is contained in:
Spencer Heywood 2022-04-13 17:21:46 -06:00
parent 5d937a68b1
commit 631271e941

13
docker/Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM node:17.9.0-bullseye
COPY . /app
WORKDIR /app
RUN npm install \
&& mv /app/dat /data \
&& ln -s /data /app/dat ## Assumes /data will store configuration and vaults
VOLUME /data
ENTRYPOINT ["npm", "run", "dev"]