Skip to content

Instantly share code, notes, and snippets.

View rasibn's full-sized avatar
🎣
Focusing

Rasib Nadeem rasibn

🎣
Focusing
View GitHub Profile
@rasibn
rasibn / readme.md
Created October 26, 2024 21:27 — forked from mrladeia/readme.md
Iptables to Oracle Cloud port 80 and 443 open

IPTABLES to Oracle Cloud port 80 and 443 open

If you need to open up ports 80 and 443, on file /etc/iptables/rules.v4 just add

-A INPUT -p tcp -m state --state NEW -m multiport --dports 80,443 -j ACCEPT

directly below

@rasibn
rasibn / DockerfileForSvelteKit.md
Created October 25, 2024 17:07 — forked from aradalvand/DockerfileForSvelteKit.md
Dockerfile and .dockerignore for SvelteKit:

*This Dockerfile is intended for SvelteKit applications that use adapter-node. So, the Dockerfile below assumes that you have already installed and configured the adapter.

Dockerfile:

FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json .
RUN npm ci
COPY . .
RUN npm run build