Skip to content

Commit

Permalink
#109 Copy other files to image
Browse files Browse the repository at this point in the history
  • Loading branch information
Yashmerino committed Jul 13, 2024
1 parent ed83f3e commit b631f8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion online-shop-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ RUN apk update && \
apk add --no-cache python3 make g++

COPY package.json package-lock.json /online-shop-ui/

RUN npm install

COPY . /online-shop-ui/

FROM node:18-alpine

WORKDIR /online-shop-ui/

COPY --from=build /online-shop-ui/ /online-shop-ui/

EXPOSE 8080

CMD ["npm", "start"]

0 comments on commit b631f8d

Please sign in to comment.