Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new commit #77

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
hh
  • Loading branch information
ohkelly committed Jan 2, 2025
commit 6a343aea3babd032d78f9187da5b93b7208abb2d
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Use the official Node.js 18 Alpine image as the base image
# Set the working directory to /app inside the container
# Copy package.json and package-lock.json to the working directory
# Copy the src and public directories to the working directory
# Install dependencies, install the serve package globally, build the app, and then remove node_modules
# Expose port 3000 to the host
# Define the command to run the app using the serve package
# Start your image with a node base image
FROM node:18-alpine