env.esq/Dockerfile

19 lines
303 B
Text
Raw Permalink Normal View History

2024-11-05 00:45:53 +01:00
FROM node:latest
# Set working directory
WORKDIR /app
# Copy package files first to leverage Docker cache
COPY package.json yarn.lock ./
# Install dependencies
RUN yarn install
# Copy the rest of the application
COPY . .
# Expose port 5000
EXPOSE 5000
# Start the application
CMD ["yarn", "start"]