Skip to content

Commit

Permalink
Add webpack dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
vaishnavi-gupta18 authored and kmrinal19 committed Nov 5, 2022
1 parent f8cf87a commit 7765dc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion react/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use Node from the Debian Linux project
FROM node:stretch-slim
FROM node:lts-stretch-slim

# Add labels for metadata
LABEL maintainer="Dhruv Bhanushali <https://dhruvkb.github.io/>"
Expand All @@ -18,6 +18,9 @@ WORKDIR /
COPY ./package.json ./package.json
COPY ./yarn.lock ./yarn.lock

# Add webpack dependency
RUN yarn global add webpack-dev-server

# Install dependenices from the file yarn.lock
RUN yarn install ${IMAGETYPE}

Expand Down

0 comments on commit 7765dc6

Please sign in to comment.