You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
394 B

FROM node:16
# Set the working directory in the container
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package*.json ./
# Install app dependencies
RUN npm install
# Copy the rest of your application code to the working directory
COPY . .
# Expose a port to communicate with the React app
EXPOSE 8000
# Start your React app
CMD ["npm", "run", "dev"]