# Base image
FROM node:16

# Set the working directory in the container
WORKDIR /app

# Copy the project files to the working directory
COPY . /app

# Install project dependencies
RUN npm install

RUN npx prisma migrate dev

# Expose a port, if needed
EXPOSE 3023

# Specify the command to run when the container starts
CMD ["npm", "start"]