diff --git a/Dockerfile b/Dockerfile index 605fc26c725a8ff3080a67835124800c2d673061..cbdb84c7f9e3e92f9f6b00cabc25de2f7a234b56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,12 @@ -# Use an official Node runtime as the base image -FROM node:21.1.0 +FROM node:21-alpine -# Set the working directory in the container to /app WORKDIR /app -# Copy package.json and package-lock.json to the working directory COPY package*.json ./ +COPY yarn.lock ./ -# Install any needed packages specified in package.json RUN yarn install -# Bundle app source COPY . . -# Run the app when the container launches CMD ["yarn", "start"] \ No newline at end of file