ChandimaPrabath
commited on
Commit
•
9345ff8
1
Parent(s):
ae37a50
fix error
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -24,6 +24,8 @@ RUN mkdir -p /tmp/app/.next/cache/images && chown -R node:node /tmp/app/.next/ca
|
|
24 |
# Copy the Next.js build and node_modules from the builder stage
|
25 |
COPY --from=builder /app /tmp/app
|
26 |
|
|
|
|
|
27 |
# Install PM2 globally
|
28 |
RUN npm install -g pm2
|
29 |
|
|
|
24 |
# Copy the Next.js build and node_modules from the builder stage
|
25 |
COPY --from=builder /app /tmp/app
|
26 |
|
27 |
+
WORKDIR /tmp/app
|
28 |
+
|
29 |
# Install PM2 globally
|
30 |
RUN npm install -g pm2
|
31 |
|