Skip to content

Commit

Permalink
fix: docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
thutasann committed Dec 7, 2024
1 parent 1b8f64f commit 32e688b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions websocket-upstash/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS base
FROM node:alpine AS base
WORKDIR /app
COPY src ./src
COPY package*.json ./
Expand All @@ -9,7 +9,7 @@ FROM base AS build
WORKDIR /app
RUN npm run build

FROM node:18-alpine
FROM node:alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --only-production
Expand Down
4 changes: 2 additions & 2 deletions websocket-upstash/server/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: '3'
version: '3.6'

services:
chat-app-1:
build:
context: .
dockerfile: dockerfile
dockerfile: Dockerfile
ports:
- "3001:3001"
environment:
Expand Down

0 comments on commit 32e688b

Please sign in to comment.