Commit 354384b7 authored by salma's avatar salma

docker change

parent 7a90c2f3
# --- System & Git ---
.git
.gitignore
.DS_Store
# --- Backend Files (Do not expose these!) ---
server.js
package.json
package-lock.json
node_modules
# --- Sub-projects (Already deployed separately) ---
tracking-api
# --- CapRover/Docker Build Files ---
captain-definition
Dockerfile
\ No newline at end of file
......@@ -3,11 +3,11 @@ FROM nginx:alpine
# 1. Remove default Nginx config
RUN rm /etc/nginx/conf.d/default.conf
# 2. Copy OUR optimized Global Nginx config
# (Make sure nginx.conf is in the same folder as this Dockerfile)
# 2. Copy YOUR optimized Global Nginx config
# (Make sure this file contains 'events {}' and 'http {}' blocks)
COPY nginx.conf /etc/nginx/nginx.conf
# 3. Copy your website files
# 3. Copy only the website files (filtered by .dockerignore)
COPY . /usr/share/nginx/html/
EXPOSE 80
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment