Merge pull request #38 from MotorTruck1221/docker
Add Docker Compose Port Option
This commit is contained in:
commit
fb3faa75f5
2 changed files with 4 additions and 7 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -5,3 +5,6 @@ services:
|
|||
build: .
|
||||
container_name: nebula
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# DO NOT CHANGE 3000!
|
||||
- your port here:3000
|
||||
Loading…
Add table
Reference in a new issue