useragent/back/Dockerfile
2023-10-30 14:37:26 +07:00

16 lines
327 B
Docker

FROM node:20.9.0-alpine3.18
# The working directory inside your container
WORKDIR /app
# Get the package.json first to install dependencies
COPY package.json /app
# This will install those dependencies
RUN npm install
# Copy the rest of the app to the working directory
COPY . /app
# Run the container
CMD ["npm", "start"]