Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM node:18-bullseye

# Set working directory
WORKDIR /app

# Copy package info dulu
COPY package*.json ./

# Install SEMUA dependencies (hapus --production agar lebih aman)
RUN npm install

# Copy sisa file
COPY . .

# Set Environment Variable
ENV PORT=3000
ENV NODE_ENV=production

# Buka Port
EXPOSE 3000

# Jalankan server
CMD ["node", "server.js"]
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "prometheus-web",
"version": "1.0.0",
"description": "Obfuscator",
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"dependencies": {
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"express": "^4.18.2"
},
"engines": {
"node": ">=18.0.0"
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# :fire: Prometheus
# :fire: Prometheus 3
[![Test](https://github.com/prometheus-lua/Prometheus/actions/workflows/Test.yml/badge.svg)](https://github.com/prometheus-lua/Prometheus/actions/workflows/Test.yml)
## Description
Prometheus is a Lua obfuscator written in pure Lua.
Expand Down
Loading