Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Motouom/git-ass
Browse files Browse the repository at this point in the history
  • Loading branch information
Motouom committed Jul 15, 2024
2 parents 5646d51 + 866c8cd commit 83e74b1
Show file tree
Hide file tree
Showing 518 changed files with 65,407 additions and 0 deletions.
23 changes: 23 additions & 0 deletions packit-backend/dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Use the official Node.js image as the base image
FROM node:20

# Set the working directory
WORKDIR /app

# Copy package.json and package-lock.json
COPY package*.json ./

# Install dependencies
RUN npm install

# Copy the rest of the application code
COPY . .

# Build the application (if applicable)
RUN npm run build

# Expose the port the app runs on
EXPOSE 3000

# Command to run the application
CMD ["npm", "start"]
12 changes: 12 additions & 0 deletions packit-backend/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// index.js
const express = require('express');
const app = express();
const port = process.env.PORT || 3000;

app.get('/', (req, res) => {
res.send('Hello World!');
});

app.listen(port, () => {
console.log(`Server is running on http://localhost:${port}`);
});
1 change: 1 addition & 0 deletions packit-backend/node_modules/.bin/mime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 83e74b1

Please sign in to comment.