Add ports to docker compose
This commit is contained in:
parent
242c18e682
commit
7ee142a7ed
2 changed files with 3 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,5 @@ services:
|
|||
build: .
|
||||
container_name: nebula
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8080:3000
|
||||
Loading…
Add table
Reference in a new issue