Skip to content

Commit

Permalink
fix: resolve Writesonic#3 update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
unownone committed Dec 14, 2023
1 parent fa6df55 commit 18385c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ RUN npm install

COPY . .

RUN npm run build

EXPOSE 8000
CMD ["npm","start"]
2 changes: 2 additions & 0 deletions Dockerfile.ECS.Alpha
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ RUN npm install

COPY . .

RUN npm run build

EXPOSE 80
CMD ["npm","start", "--port 80"]
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ services:
dockerfile: Dockerfile

ports:
- 8000:8000
- 8001:8000

env_file:
- .env
restart: unless-stopped
restart: unless-stopped

0 comments on commit 18385c2

Please sign in to comment.