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
yarn-debug.log*
yarn-error.log*
yarn.lock
debug*.log*
error*.log*
.*-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
ports:
- 3000:3000
volumes:
- "./src:/api/src"
- "./public:/api/public"
networks:
- public
- private
@ -55,4 +59,5 @@ networks:
public:
driver: bridge
private:
internal: true
driver: bridge

View File

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