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 89febb1 commit 1cf811d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/prod-ssu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ FROM node:19 as static-assets
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build

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

RUN php artisan route:cache
RUN php artisan view:cache
RUN npm run build

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

0 comments on commit 1cf811d

Please sign in to comment.