Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump authored Oct 6, 2023
1 parent 987d58e commit 8c3c896
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ COPY package*.json ./
# Install app dependencies
RUN npm install

# Build the node server
RUN npm run build

# Copy the rest of the application code to the container
COPY . .

# Build the node server with vite
RUN npm run build

# Expose the port that your app will run on (change as needed)
EXPOSE 3000

# Define the command to start your Node.js application
# Start the node.js server
CMD ["node", "build"]

0 comments on commit 8c3c896

Please sign in to comment.