Skip to content

Commit

Permalink
podman compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
khanzadimahdi committed Sep 13, 2024
1 parent 5acf830 commit c44b7b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
NUXT_PUBLIC_API_BASE_URL: ${NUXT_PUBLIC_API_BASE_URL}
NUXT_INTERNAL_API_BASE_URL: ${NUXT_INTERNAL_API_BASE_URL}
command: >
sh -c "npm install; npm run dev --host"
sh -c "npm install; npm run dev -- --host --port 3000"
app:
build:
Expand Down Expand Up @@ -91,6 +91,6 @@ services:
image: nats:2.10-alpine
# command: "--config /etc/nats/nats-server.conf --jetstream"
ports:
- 4222:4222 # client port
- 6222:6222 # cluster post
- 8222:8222 # HTTP monitoring port
- "4222:4222" # client port
- "6222:6222" # cluster post
- "8222:8222" # HTTP monitoring port
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN npm install

FROM base AS develop
EXPOSE 3000
CMD ["npm", "run", "dev", '--host']
CMD ["npm", "run", "dev", "--", "--host", "--port", "3000"]

FROM base as build
RUN npm run build
Expand Down

0 comments on commit c44b7b2

Please sign in to comment.