File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,9 @@ RUN rm -f /etc/nginx/sites-enabled/default /etc/nginx/sites-available/default /e
7777 && chown -R 1001:0 /var/cache/nginx /var/log/nginx /var/lib/nginx /run/nginx.pid /etc/nginx \
7878 && chmod -R 755 /var/lib/nginx /var/log/nginx
7979
80+ # Install pm2 globally
81+ RUN npm install -g pm2
82+
8083# Copy ALL source code (backend + frontend source, but .next is overwritten)
8184COPY . /app/
8285
@@ -87,9 +90,6 @@ COPY --from=frontend_deps /app/front_end/node_modules /app/front_end/node_module
8790# Copy pre-built frontend (overwrites the source-only front_end/.next)
8891COPY --from=frontend_build /app/front_end/.next /app/front_end/.next
8992
90- # Install pm2 globally
91- RUN npm install -g pm2
92-
9393# Collect Django static files
9494RUN . venv/bin/activate && ./manage.py collectstatic --noinput
9595
You can’t perform that action at this time.
0 commit comments