Skip to content

Commit

Permalink
💡(#170) Adicionando docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
julisous committed Oct 26, 2023
1 parent 950f8d1 commit a314e04
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:17-alpine AS development
ENV NODE_ENV development

# Diretorio
WORKDIR /src
WORKDIR /app
# Instalacao das dependencias
COPY package.json .
COPY yarn.lock .
Expand Down
13 changes: 13 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: '3.8'

service:
app:
container_name: app-front
image: app-front
build:
context:
target: development
volumes:
- ./src:/app/src
ports:
- 3000:3000

0 comments on commit a314e04

Please sign in to comment.