first commit

This commit is contained in:
Olu Amey
2023-03-25 23:06:51 -04:00
commit 8278a33443
2865 changed files with 170918 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# pull official base image
FROM node:18.12.1-alpine
# set working directory
WORKDIR /app
# add `/app/node_modules/.bin` to $PATH
ENV PATH /app/node_modules/.bin:$PATH
# install app dependencies
COPY package.json ./
#COPY package-lock.json ./
RUN npm install --silent
# RUN npm install react-scripts@3.4.1 -g --silent
# add app
COPY . ./
# start app
CMD ["npm","run", "start"]
# CMD ["yarn", "start"]