mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-21 23: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
|
FROM docker.io/library/alpine:latest
|
||||||
|
|
||||||
# Set up environment for building
|
# Set up environment for building
|
||||||
RUN apk add yarn nodejs
|
RUN apk add nodejs npm
|
||||||
|
|
||||||
# Copy files to build environment
|
# Copy files to build environment
|
||||||
RUN mkdir /opt/little-lines-frontend
|
RUN mkdir /opt/little-lines-frontend
|
||||||
|
@ -9,7 +9,7 @@ COPY . /opt/little-lines-frontend
|
||||||
|
|
||||||
# Start the app
|
# Start the app
|
||||||
WORKDIR /opt/little-lines-frontend
|
WORKDIR /opt/little-lines-frontend
|
||||||
RUN yarn
|
RUN npm i
|
||||||
CMD yarn dev --host
|
CMD npm run dev --host
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue