.
This commit is contained in:
parent
f2f5322351
commit
6c2c084d21
4
.gitignore
vendored
4
.gitignore
vendored
@ -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
6006
client/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
@ -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
|
||||||
|
|||||||
@ -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
6328
server/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user