initial react
This commit is contained in:
17
pokemans-client/Dockerfile
Normal file
17
pokemans-client/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
# Use an official Node runtime as a parent image
|
||||
FROM node:alpine
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package.json and package-lock.json to work directory
|
||||
COPY package*.json ./
|
||||
|
||||
# Install any dependencies
|
||||
RUN npm install
|
||||
|
||||
# Bundle app source inside the docker image
|
||||
COPY . .
|
||||
|
||||
# Command to run the app
|
||||
CMD ["npm", "start"]
|
Reference in New Issue
Block a user