Commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"workbench.colorTheme": "Default Dark Modern"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":1,"resource":"vscode-remote:/home/bugattiguy527/.local/share/code-server/User/settings.json","entries":[{"id":"LtdN.json","timestamp":1732635057113}]}
|
||||
42
.local/share/code-server/User/History/2e659bb2/8UPb
Normal file
42
.local/share/code-server/User/History/2e659bb2/8UPb
Normal file
@@ -0,0 +1,42 @@
|
||||
# Stage 1: Build React frontend
|
||||
FROM node:18-slim as build
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy project files
|
||||
COPY . .
|
||||
|
||||
# Install dependencies and build the frontend
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Backend + Nginx setup
|
||||
FROM node:18-slim
|
||||
|
||||
# Set working directory for the backend
|
||||
WORKDIR /app
|
||||
|
||||
# Copy backend files and entrypoint script
|
||||
COPY . .
|
||||
COPY entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
# Install backend dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy the React frontend build into a directory for Nginx
|
||||
RUN mkdir -p /usr/share/nginx/html
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
# Install Nginx
|
||||
RUN apt-get update && apt-get install -y nginx && apt-get clean
|
||||
|
||||
# Copy Nginx configuration
|
||||
COPY /docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Expose the ports
|
||||
EXPOSE 80 3001
|
||||
|
||||
# Start both the backend and Nginx
|
||||
CMD ["/usr/local/bin/entrypoint.sh"]gi
|
||||
30
.local/share/code-server/User/History/2e659bb2/8otg
Normal file
30
.local/share/code-server/User/History/2e659bb2/8otg
Normal file
@@ -0,0 +1,30 @@
|
||||
<<<<<<< HEAD
|
||||
# Stage 1: Build the React app (Frontend)
|
||||
FROM node:18-slim AS frontend-build
|
||||
WORKDIR /app
|
||||
# Copy all project files into the image
|
||||
COPY . .
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
# Build the application
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Setup Nginx to serve the React App
|
||||
FROM nginx:alpine AS frontend-server
|
||||
# Copy built files from builder stage to Nginx's serving directory
|
||||
COPY --from=frontend-build /app/dist /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
# Stage 3: Setup the Backend
|
||||
FROM node:18-slim AS backend
|
||||
WORKDIR /app
|
||||
# Copy package.json and package-lock.json
|
||||
COPY package*.json ./
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
# Copy server.js from its new location
|
||||
COPY src/components/server.js /app/server.js
|
||||
EXPOSE 3001
|
||||
# Start the backend server
|
||||
CMD ["node", "server.js"]
|
||||
42
.local/share/code-server/User/History/2e659bb2/J4VB
Normal file
42
.local/share/code-server/User/History/2e659bb2/J4VB
Normal file
@@ -0,0 +1,42 @@
|
||||
# Stage 1: Build React frontend
|
||||
FROM node:18-slim as build
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy project files
|
||||
COPY . .
|
||||
|
||||
# Install dependencies and build the frontend
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Backend + Nginx setup
|
||||
FROM node:18-slim
|
||||
|
||||
# Set working directory for the backend
|
||||
WORKDIR /app
|
||||
|
||||
# Copy backend files and entrypoint script
|
||||
COPY . .
|
||||
COPY entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
# Install backend dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy the React frontend build into a directory for Nginx
|
||||
RUN mkdir -p /usr/share/nginx/html
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
# Install Nginx
|
||||
RUN apt-get update && apt-get install -y nginx && apt-get clean
|
||||
|
||||
# Copy Nginx configuration
|
||||
COPY /docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Expose the ports
|
||||
EXPOSE 80 3001
|
||||
|
||||
# Start both the backend and Nginx
|
||||
CMD ["/usr/local/bin/entrypoint.sh"]
|
||||
73
.local/share/code-server/User/History/2e659bb2/TUF1
Normal file
73
.local/share/code-server/User/History/2e659bb2/TUF1
Normal file
@@ -0,0 +1,73 @@
|
||||
<<<<<<< HEAD
|
||||
# Stage 1: Build the React app (Frontend)
|
||||
FROM node:18-slim AS frontend-build
|
||||
WORKDIR /app
|
||||
# Copy all project files into the image
|
||||
COPY . .
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
# Build the application
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Setup Nginx to serve the React App
|
||||
FROM nginx:alpine AS frontend-server
|
||||
# Copy built files from builder stage to Nginx's serving directory
|
||||
COPY --from=frontend-build /app/dist /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
# Stage 3: Setup the Backend
|
||||
FROM node:18-slim AS backend
|
||||
WORKDIR /app
|
||||
# Copy package.json and package-lock.json
|
||||
COPY package*.json ./
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
# Copy server.js from its new location
|
||||
COPY src/components/server.js /app/server.js
|
||||
EXPOSE 3001
|
||||
# Start the backend server
|
||||
CMD ["node", "server.js"]
|
||||
=======
|
||||
# Stage 1: Build React frontend
|
||||
FROM node:18-slim as build
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy project files
|
||||
COPY . .
|
||||
|
||||
# Install dependencies and build the frontend
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Backend + Nginx setup
|
||||
FROM node:18-slim
|
||||
|
||||
# Set working directory for the backend
|
||||
WORKDIR /app
|
||||
|
||||
# Copy backend files and entrypoint script
|
||||
COPY . .
|
||||
COPY entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
# Install backend dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy the React frontend build into a directory for Nginx
|
||||
RUN mkdir -p /usr/share/nginx/html
|
||||
COPY --from=build dist /usr/share/nginx/html
|
||||
|
||||
# Install Nginx
|
||||
RUN apt-get update && apt-get install -y nginx && apt-get clean
|
||||
|
||||
# Copy Nginx configuration
|
||||
COPY /docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Expose the ports
|
||||
EXPOSE 80 3001
|
||||
|
||||
# Start both the backend and Nginx
|
||||
CMD ["/usr/local/bin/entrypoint.sh"]
|
||||
74
.local/share/code-server/User/History/2e659bb2/XU8z
Normal file
74
.local/share/code-server/User/History/2e659bb2/XU8z
Normal file
@@ -0,0 +1,74 @@
|
||||
<<<<<<< HEAD
|
||||
# Stage 1: Build the React app (Frontend)
|
||||
FROM node:18-slim AS frontend-build
|
||||
WORKDIR /app
|
||||
# Copy all project files into the image
|
||||
COPY . .
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
# Build the application
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Setup Nginx to serve the React App
|
||||
FROM nginx:alpine AS frontend-server
|
||||
# Copy built files from builder stage to Nginx's serving directory
|
||||
COPY --from=frontend-build /app/dist /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
# Stage 3: Setup the Backend
|
||||
FROM node:18-slim AS backend
|
||||
WORKDIR /app
|
||||
# Copy package.json and package-lock.json
|
||||
COPY package*.json ./
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
# Copy server.js from its new location
|
||||
COPY src/components/server.js /app/server.js
|
||||
EXPOSE 3001
|
||||
# Start the backend server
|
||||
CMD ["node", "server.js"]
|
||||
=======
|
||||
# Stage 1: Build React frontend
|
||||
FROM node:18-slim as build
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy project files
|
||||
COPY . .
|
||||
|
||||
# Install dependencies and build the frontend
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Backend + Nginx setup
|
||||
FROM node:18-slim
|
||||
|
||||
# Set working directory for the backend
|
||||
WORKDIR /app
|
||||
|
||||
# Copy backend files and entrypoint script
|
||||
COPY . .
|
||||
COPY entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
# Install backend dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy the React frontend build into a directory for Nginx
|
||||
RUN mkdir -p /usr/share/nginx/html
|
||||
COPY --from=build dist /usr/share/nginx/html
|
||||
|
||||
# Install Nginx
|
||||
RUN apt-get update && apt-get install -y nginx && apt-get clean
|
||||
|
||||
# Copy Nginx configuration
|
||||
COPY /docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Expose the ports
|
||||
EXPOSE 80 3001
|
||||
|
||||
# Start both the backend and Nginx
|
||||
CMD ["/usr/local/bin/entrypoint.sh"]
|
||||
>>>>>>> fc03385d60aedd35d147f7af3ce97533fa67a8d7
|
||||
42
.local/share/code-server/User/History/2e659bb2/Z5sv
Normal file
42
.local/share/code-server/User/History/2e659bb2/Z5sv
Normal file
@@ -0,0 +1,42 @@
|
||||
# Stage 1: Build React frontend
|
||||
FROM node:18-slim as build
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy project files
|
||||
COPY . .
|
||||
|
||||
# Install dependencies and build the frontend
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Backend + Nginx setup
|
||||
FROM node:18-slim
|
||||
|
||||
# Set working directory for the backend
|
||||
WORKDIR /app
|
||||
|
||||
# Copy backend files and entrypoint script
|
||||
COPY . .
|
||||
COPY entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
# Install backend dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy the React frontend build into a directory for Nginx
|
||||
RUN mkdir -p /usr/share/nginx/html
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
# Install Nginx
|
||||
RUN apt-get update && apt-get install -y nginx && apt-get clean
|
||||
|
||||
# Copy Nginx configuration
|
||||
COPY /docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Expose the ports
|
||||
EXPOSE 80 3001
|
||||
|
||||
# Start both the backend and Nginx
|
||||
CMD ["/usr/local/bin/entrypoint.sh"]gi
|
||||
42
.local/share/code-server/User/History/2e659bb2/ars1
Normal file
42
.local/share/code-server/User/History/2e659bb2/ars1
Normal file
@@ -0,0 +1,42 @@
|
||||
# Stage 1: Build React frontend
|
||||
FROM node:18-slim as build
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy project files
|
||||
COPY . .
|
||||
|
||||
# Install dependencies and build the frontend
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Backend + Nginx setup
|
||||
FROM node:18-slim
|
||||
|
||||
# Set working directory for the backend
|
||||
WORKDIR /app
|
||||
|
||||
# Copy backend files and entrypoint script
|
||||
COPY . .
|
||||
COPY entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
# Install backend dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy the React frontend build into a directory for Nginx
|
||||
RUN mkdir -p /usr/share/nginx/html
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
# Install Nginx
|
||||
RUN apt-get update && apt-get install -y nginx && apt-get clean
|
||||
|
||||
# Copy Nginx configuration
|
||||
COPY /docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Expose the ports
|
||||
EXPOSE 80 3001
|
||||
|
||||
# Start both the backend and Nginx
|
||||
CMD ["/usr/local/bin/entrypoint.sh"]
|
||||
@@ -0,0 +1 @@
|
||||
{"version":1,"resource":"vscode-remote://coder.karmaashomepage.online/home/bugattiguy527/docker/Dockerfile","entries":[{"id":"TUF1","timestamp":1732635492973},{"id":"8otg","timestamp":1732635506681},{"id":"XU8z","source":"undoRedo.source","timestamp":1732635515769},{"id":"ars1","timestamp":1732635532917},{"id":"8UPb","timestamp":1732635628577},{"id":"gWeB","timestamp":1732635658901},{"id":"Z5sv","source":"undoRedo.source","timestamp":1732635671649},{"id":"J4VB","timestamp":1732635674581}]}
|
||||
0
.local/share/code-server/User/History/2e659bb2/gWeB
Normal file
0
.local/share/code-server/User/History/2e659bb2/gWeB
Normal file
@@ -0,0 +1 @@
|
||||
{"content":{"settings":"{}","tasks":"{}","launch":"{\n \"version\": \"0.2.0\",\n \"configurations\": [\n {\n \"name\": \"Run application\",\n \"type\": \"node\",\n \"request\": \"launch\",\n \"cwd\": \"${workspaceFolder}\",\n \"console\": \"integratedTerminal\",\n \"runtimeExecutable\": \"npm\",\n \"runtimeArgs\": [\n \"run-script\",\n \"start\"\n ],\n \"skipFiles\": [\n \"<node_internals>/**\"\n ]\n }\n ]\n}"}}
|
||||
@@ -0,0 +1 @@
|
||||
[]
|
||||
1
.local/share/code-server/User/machineid
Normal file
1
.local/share/code-server/User/machineid
Normal file
@@ -0,0 +1 @@
|
||||
79efcc96-1486-4989-a911-393bcc574a8b
|
||||
3
.local/share/code-server/User/settings.json
Normal file
3
.local/share/code-server/User/settings.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"workbench.colorTheme": "Default Dark Modern"
|
||||
}
|
||||
1
.local/share/code-server/User/systemExtensionsCache.json
Normal file
1
.local/share/code-server/User/systemExtensionsCache.json
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -0,0 +1 @@
|
||||
{"pid":287,"willReleaseAt":0}
|
||||
Reference in New Issue
Block a user