Dockerize the app

This commit is contained in:
Gardner Bickford
2022-06-18 13:18:48 +12:00
parent 17a27a138b
commit a9c051b743
17 changed files with 224 additions and 53 deletions
+12
View File
@@ -0,0 +1,12 @@
# Development image for React app
FROM node:18-alpine
WORKDIR /home/node
VOLUME /home/node/node_modules
COPY package*.json .
RUN npm i -g npm@latest \
&& npm ci --legacy-peer-deps \