mirror of
https://github.com/Team4388/ScoutingApp2022.git
synced 2026-06-09 00:38:03 -06:00
created app skeleton
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
FROM node:16-alpine as build-step
|
||||
RUN mkdir /app/
|
||||
RUN mkdir /app/node_modules
|
||||
RUN chown -R node:node /app/node_modules
|
||||
WORKDIR /app/
|
||||
ENV PATH /app/node_modules/.bin:$PATH
|
||||
COPY package.json ./
|
||||
@@ -7,5 +9,5 @@ COPY package-lock.json ./
|
||||
RUN npm install
|
||||
RUN npm install react-scripts
|
||||
COPY . ./
|
||||
# USER node
|
||||
#USER node
|
||||
CMD ["npm", "start"]
|
||||
|
||||
Reference in New Issue
Block a user