docker integration

This commit is contained in:
2026-08-14 11:46:22 +02:00
parent 4fa600a3a3
commit d51d15236b
3 changed files with 42 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
node_modules
npm-debug.log
.git
.gitignore
test
.env
*.log
+19
View File
@@ -0,0 +1,19 @@
FROM node:22-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY src ./src
COPY public ./public
ENV NODE_ENV=production
ENV PORT=3000
EXPOSE 3000
USER node
CMD ["node", "src/server.js"]
+16
View File
@@ -0,0 +1,16 @@
services:
stego:
build:
context: .
dockerfile: Dockerfile
container_name: stegonography-app
ports:
- "3000:3000"
environment:
NODE_ENV: production
PORT: 3000
restart: unless-stopped