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

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -34,12 +34,6 @@ jobs:
run: |
npm install
- name: Build
working-directory: app
run: |
printenv
npm run build
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

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"]

View File

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