Skip to content

Commit

Permalink
fix: npm dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhe4rt committed May 31, 2023
1 parent 1cf811d commit 43f2751
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/prod-ssu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM node:19 as static-assets
WORKDIR /app
COPY . .
RUN npm install

FROM serversideup/php:8.2-fpm-nginx
WORKDIR /var/www/html
Expand All @@ -20,6 +19,9 @@ COPY --from=static-assets --chown=9999:9999 /app/public/build ./public/build

RUN php artisan route:cache
RUN php artisan view:cache

WORKDIR /app
RUN npm install
RUN npm run build

RUN echo "alias ll='ls -al'" >>/etc/bash.bashrc
Expand Down

0 comments on commit 43f2751

Please sign in to comment.