Skip to content

Commit

Permalink
chore: building for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
nemo83 committed Aug 22, 2023
1 parent f4bc274 commit 33a456d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/cip-1694/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ ENV NODE_ENV development
WORKDIR /app
# Cache and Install dependencies
COPY package.json .
RUN npm install --production
RUN npm install
# Copy app files
COPY . .
# Build the app
RUN npm run build

# Bundle static assets with nginx
FROM nginx:1.25.2-alpine as production
ENV NODE_ENV production
ENV NODE_ENV development
# Copy built assets from builder
COPY --from=builder /app/build /usr/share/nginx/html
# Add your nginx.conf
Expand Down

0 comments on commit 33a456d

Please sign in to comment.