Skip to content

Commit

Permalink
Correção de bug em Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
710lucas committed Mar 18, 2024
1 parent 47a303a commit acce439
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ RUN npm install

COPY . .

EXPOSE 8080
RUN npm run build

EXPOSE 3000

ENV POSTGRES_HOST=postgres

CMD ["npm", "run", "dev"]
CMD ["sh", "-c", "npm install && npm run build && npm run dev"]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "briefing-back",
"version": "1.3.1",
"version": "1.3.2",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit acce439

Please sign in to comment.