Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
version: "3"

services:

## TODO 기본 틀만 잡았으며 추후에 수정 예정
# ai:
# container_name: ai
Expand All @@ -15,7 +14,7 @@ services:
container_name: frontend
build:
context: ./frontend
dockerfile: Dockerfile
dockerfile: Dockerfile.dev
ports:
- "3000:3000"
tty: true
Expand Down Expand Up @@ -60,4 +59,4 @@ volumes:

networks:
mynet:
driver: bridge
driver: bridge
File renamed without changes.
6 changes: 6 additions & 0 deletions frontend/Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM node
WORKDIR /app
COPY ./package.json ./
RUN npm i
COPY . ./
CMD ["npm","run","build"]