Skip to content

Commit

Permalink
Update Dockerfile for bower
Browse files Browse the repository at this point in the history
  • Loading branch information
lancard authored Mar 25, 2024
1 parent e4079be commit fa7151b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ RUN mkdir -p /data
RUN mkdir -p /session
RUN rm -f /var/log/nginx/*

# install bower components
WORKDIR /admin/static
RUN npm install -g bower
RUN bower install

# change to node folder
WORKDIR /admin

RUN npm install

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit fa7151b

Please sign in to comment.