chore: fix build command and improve installation steps
This commit is contained in:
@ -5,9 +5,12 @@ RUN apk update && apk upgrade && \
|
||||
apk add libc6-compat
|
||||
|
||||
WORKDIR /app/front
|
||||
COPY ../../front .
|
||||
|
||||
RUN export $(xargs <.env)
|
||||
COPY ../../front/package.json .
|
||||
COPY ../../front/package-lock.json .
|
||||
COPY ../../front/.npmrc .
|
||||
RUN npm install
|
||||
|
||||
COPY ../../front .
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
|
||||
Reference in New Issue
Block a user