replace yarn with npm for default setup

This commit is contained in:
Late Night Defender 2024-03-28 00:45:09 +07:00
parent b27f6ceffd
commit db60c13147

View file

@ -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