configuration update
This commit is contained in:
+11
-2
@@ -92,6 +92,15 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
|
||||
# smoke test
|
||||
&& yarn --version
|
||||
|
||||
|
||||
# set working directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# install app dependencies
|
||||
COPY package.json ./
|
||||
#COPY package-lock.json ./
|
||||
RUN npm install --silent
|
||||
|
||||
#COPY docker-entrypoint.sh /usr/local/bin/
|
||||
#ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
RUN npm install react-router-dom --save
|
||||
@@ -103,11 +112,11 @@ COPY . ./
|
||||
|
||||
#CMD ["npm","run", "build"]
|
||||
|
||||
CMD ["npm","run", "start"]
|
||||
# CMD ["npm","run", "start"] yes
|
||||
|
||||
#CMD ["npm","run", "start"]
|
||||
|
||||
#CMD ["npm","run", "dev"]
|
||||
CMD ["npm","run", "dev"]
|
||||
#COPY --from=build-target /usr/src/app/node_modules node_modules
|
||||
#COPY --from=build-target /usr/src/app/.next .next
|
||||
|
||||
|
||||
Reference in New Issue
Block a user