diff --git a/Dockerfile b/Dockerfile index 81c160c..36cc7bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,5 @@ COPY package*.json ./ RUN npm install COPY . . RUN npm run build -EXPOSE 4000 +EXPOSE 3000 CMD ["npm", "run", "start:prod"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 31db8d9..f3d3101 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: container_name: backend build: . ports: - - "4000:4000" + - "80:3000" volumes: - .:/app - /app/node_modules