Refactoring

This commit is contained in:
2025-01-20 12:06:28 -06:00
parent fabb84e9fa
commit c2d5c02daa
4 changed files with 6 additions and 9 deletions

View File

@@ -8,6 +8,9 @@ CMD ["node", "/api/dist/main.js"]
FROM base AS app
RUN npm i -g serve
COPY ./app/dist ./app/dist
WORKDIR ./app
# COPY ./app/dist ./app/dist
COPY ./app ./app
EXPOSE 8080
CMD [ "serve", "-s", "app/dist", "-p", "8080" ]
# CMD [ "serve", "-s", "app/dist", "-p", "8080" ]
CMD ["npm", "run", "dev"]