Skip to content

Commit

Permalink
chore: deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
guimroque committed Jul 10, 2024
1 parent 6cc19d8 commit 53ee701
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions packages/gateway/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
FROM arm64v8/node:18.18.2-alpine

# Create app directory
# Instalar dependências necessárias para node-gyp
RUN apk add --no-cache python3 make g++ \
&& npm install -g node-gyp

# Criar diretório da aplicação
WORKDIR /gateway
ADD . /gateway

# Install node-gyp
RUN yarn global add node-gyp && yarn install --frozen-lockfile

# Install app dependencies
# Instalar dependências da aplicação
RUN yarn install

# Build
RUN yarn build

# Expose the application port
# Expor a porta da aplicação
EXPOSE 4444

# Start the application
ENTRYPOINT ["yarn", "start"]
# Iniciar a aplicação
ENTRYPOINT ["yarn", "start"]
2 changes: 1 addition & 1 deletion packages/gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@graphql-tools/schema": "^10.0.4",
"@graphql-tools/utils": "^10.2.2",
"@graphql-tools/wrap": "^10.0.5",
"bakosafe": "0.0.64",
"bakosafe": "0.0.64",
"cors": "2.8.5",
"dotenv": "16.4.5",
"express": "4.17.1",
Expand Down

0 comments on commit 53ee701

Please sign in to comment.