Merge pull request #38 from MotorTruck1221/docker

Add Docker Compose Port Option
This commit is contained in:
Green! 2022-12-02 22:38:52 -05:00 committed by GitHub
commit fb3faa75f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View file

@ -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"]

View file

@ -5,3 +5,6 @@ services:
build: .
container_name: nebula
restart: unless-stopped
ports:
# DO NOT CHANGE 3000!
- your port here:3000