mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-21 13:56:52 +00:00
replace yarn with npm for default setup
This commit is contained in:
parent
b27f6ceffd
commit
db60c13147
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
FROM docker.io/library/alpine:latest
|
||||
|
||||
# Set up environment for building
|
||||
RUN apk add yarn nodejs
|
||||
RUN apk add nodejs npm
|
||||
|
||||
# Copy files to build environment
|
||||
RUN mkdir /opt/little-lines-frontend
|
||||
|
@ -9,7 +9,7 @@ COPY . /opt/little-lines-frontend
|
|||
|
||||
# Start the app
|
||||
WORKDIR /opt/little-lines-frontend
|
||||
RUN yarn
|
||||
CMD yarn dev --host
|
||||
RUN npm i
|
||||
CMD npm run dev --host
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue