Skip to content

Commit

Permalink
update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroPaino committed Jun 25, 2024
1 parent f0b6611 commit 6474523
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '20'

- name: Install dependencies
run: npm install
Expand Down
11 changes: 0 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
# Especifica a imagem base
FROM node:16

# Define o diretório de trabalho no contêiner
WORKDIR /app

# Copia os arquivos de dependências e instala as dependências
COPY package*.json ./
RUN npm install

# Copia os arquivos do projeto para o diretório de trabalho no contêiner
COPY . .

# Expõe a porta que o servidor usará
EXPOSE 3000

# Comando para rodar a aplicação
CMD ["npm", "start"]
4 changes: 3 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file added src/style.css
Empty file.

0 comments on commit 6474523

Please sign in to comment.