Revert on directory paths.

This commit is contained in:
Caretaker0699 2023-05-19 13:00:47 -07:00
parent 7e5d66ffbc
commit 5978505cb7

View File

@ -3,17 +3,17 @@ FROM node:16-alpine AS build-stage
WORKDIR /app
COPY /home/ubuntu/git/shiloh1/package.json ./
COPY /home/ubuntu/git/shiloh1/package-lock.json ./
COPY package.json ./
COPY package-lock.json ./
RUN npm ci --production
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
COPY next.config.js ./
COPY tailwind.config.js ./
COPY postcss.config.js ./
COPY components ./components
COPY pages ./pages
COPY public ./public
COPY 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"]