Skip to content

Commit

Permalink
fix: update docker-compose.yaml and Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jason810496 committed Feb 27, 2024
1 parent af87154 commit b4b5303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ COPY . /app
RUN npm install
RUN npm run build

# CMD [ "yarn","preview","--port","5173" ]
# CMD [ "yarn","preview","--port","5173" ,"--host","0.0.0.0"]
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
frontend:
build: .
restart: always
command: ["yarn", "dev"]
command: [ "yarn","preview","--port","5173" ,"--host","0.0.0.0"]
ports:
- "5173:5173"
volumes:
Expand Down

0 comments on commit b4b5303

Please sign in to comment.