Browse Source

Change only=prod to omit=dev

tags/v0.12.0
Vildravn 1 year 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/ WORKDIR /usr/src/isleward/src/server/


# Install only production npm modules specified in package.json # 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 container's port 4000
EXPOSE 4000 EXPOSE 4000


Loading…
Cancel
Save