CyberCafe/Dockerfile
Görkem cee55e5077
Some checks failed
Node.js CI/CD / build (push) Failing after 35s
create CI/CD pipeline
2025-12-25 12:52:41 -08:00

20 lines
308 B
Docker

# Specify the base image
FROM node:24
# Set the working directory in the container
WORKDIR /app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install app dependencies
RUN npm install
# Bundle app source
COPY . .
# Expose port
EXPOSE 3000
# Start the app
CMD [ "node", "backend.js" ]