This commit is contained in:
David Arranz 2024-09-06 19:40:11 +02:00
parent f2f5322351
commit 6c2c084d21
6 changed files with 15358 additions and 3 deletions

4
.gitignore vendored
View File

@ -14,9 +14,11 @@ dist/
client/.parcel-cache client/.parcel-cache
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
yarn.lock
debug*.log* debug*.log*
error*.log* error*.log*
.*-audit.json .*-audit.json
# misc
.DS_Store
*.pem

6006
client/yarn.lock Normal file

File diff suppressed because it is too large Load Diff

View File

@ -37,6 +37,10 @@ services:
- NODE_ENV=production - NODE_ENV=production
ports: ports:
- 3000:3000 - 3000:3000
volumes:
- "./src:/api/src"
- "./public:/api/public"
networks: networks:
- public - public
- private - private
@ -55,4 +59,5 @@ networks:
public: public:
driver: bridge driver: bridge
private: private:
internal: true
driver: bridge driver: bridge

View File

@ -11,12 +11,15 @@ ENV NODE_ENV $NODE_ENV
# Establecer el directorio de trabajo # Establecer el directorio de trabajo
WORKDIR /api WORKDIR /api
COPY package.json /api/package.json COPY package.json ./
COPY yarn.lock ./
RUN yarn install RUN yarn install
# Copiar el código de la aplicación # Copiar el código de la aplicación
COPY . /api COPY . .
RUN yarn
RUN yarn run build RUN yarn run build
# RUN # RUN

6328
server/yarn.lock Normal file

File diff suppressed because it is too large Load Diff

3011
yarn.lock Normal file

File diff suppressed because it is too large Load Diff