Skip to content

Commit

Permalink
Merge pull request #38 from MotorTruck1221/docker
Browse files Browse the repository at this point in the history
Add Docker Compose Port Option
  • Loading branch information
GreenyDEV committed Dec 3, 2022
2 parents 242c18e + 0fe42ca commit fb3faa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
FROM node:18

FROM node:alpine
WORKDIR /usr/src/app

COPY . .

RUN npm install

RUN npm ci

EXPOSE 3000

CMD ["npm", "start"]
3 changes: 3 additions & 0 deletions docker-compose.yaml → docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ services:
build: .
container_name: nebula
restart: unless-stopped
ports:
# DO NOT CHANGE 3000!
- your port here:3000

0 comments on commit fb3faa7

Please sign in to comment.