Testing directory changes
This commit is contained in:
parent
d9b0032631
commit
7e5d66ffbc
20
Dockerfile
20
Dockerfile
@ -3,17 +3,17 @@ FROM node:16-alpine AS build-stage
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
COPY package-lock.json ./
|
||||
COPY /home/ubuntu/git/shiloh1/package.json ./
|
||||
COPY /home/ubuntu/git/shiloh1/package-lock.json ./
|
||||
RUN npm ci --production
|
||||
|
||||
COPY next.config.js ./
|
||||
COPY tailwind.config.js ./
|
||||
COPY postcss.config.js ./
|
||||
COPY components ./components
|
||||
COPY pages ./pages
|
||||
COPY public ./public
|
||||
COPY styles ./styles
|
||||
COPY /home/ubuntu/git/shiloh1/next.config.js ./
|
||||
COPY /home/ubuntu/git/shiloh1/tailwind.config.js ./
|
||||
COPY /home/ubuntu/git/shiloh1/postcss.config.js ./
|
||||
COPY /home/ubuntu/git/shiloh1/components ./components
|
||||
COPY /home/ubuntu/git/shiloh1/pages ./pages
|
||||
COPY /home/ubuntu/git/shiloh1/public ./public
|
||||
COPY /home/ubuntu/git/shiloh1/styles ./styles
|
||||
|
||||
RUN npm run build
|
||||
|
||||
@ -26,4 +26,4 @@ COPY --from=build-stage /app/.next ./.next
|
||||
COPY --from=build-stage /app/public ./public
|
||||
COPY --from=build-stage /app/node_modules ./node_modules
|
||||
|
||||
CMD ["npm", "start"]
|
||||
CMD ["npm", "start"]
|
||||
|
Reference in New Issue
Block a user