Refactoring

This commit is contained in:
2025-01-20 12:57:11 -06:00
parent c2d5c02daa
commit 7b4685a513
3 changed files with 6 additions and 3 deletions

1
.dockerignore Normal file
View File

@@ -0,0 +1 @@
node_modules

View File

@@ -10,7 +10,9 @@ FROM base AS app
RUN npm i -g serve
WORKDIR ./app
# COPY ./app/dist ./app/dist
COPY ./app ./app
COPY ./app .
RUN npm install
EXPOSE 8080
# CMD [ "serve", "-s", "app/dist", "-p", "8080" ]
CMD ["npm", "run", "dev"]
CMD ["npm", "run", "dev"]
# ENTRYPOINT ["tail", "-f", "/dev/null"]

View File

@@ -1,7 +1,7 @@
{
"name": "app",
"private": true,
"version": "0.0.14",
"version": "0.0.15",
"type": "module",
"scripts": {
"dev": "vite",