Browse Source

Change only=prod to omit=dev

master
Vildravn 4 months ago
parent
commit
af6e1cae38
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Dockerfile

+ 1
- 1
Dockerfile View File

@@ -11,7 +11,7 @@ COPY . .
WORKDIR /usr/src/isleward/src/server/

# Install only production npm modules specified in package.json
RUN npm ci --only=production
RUN npm ci --omit=dev

# Expose container's port 4000
EXPOSE 4000


Loading…
Cancel
Save