From 7a509e9e1c0add2f6850078839d82164fae594e4 Mon Sep 17 00:00:00 2001 From: Harika Munipalle Date: Thu, 11 Apr 2024 16:21:36 -0400 Subject: [PATCH] deleted docker and docker compose --- Dockerfile | 28 ---------------------------- docker-compose.yml | 16 ---------------- 2 files changed, 44 deletions(-) delete mode 100644 Dockerfile delete mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index c524f4b..0000000 --- a/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -#Dockerfile - -# Use this image as the platform to build the app -FROM node:18-alpine AS external-website - -# A small line inside the image to show who made it -LABEL Developers="Illia Stankevych & Harika Munipalle" - -# The WORKDIR instruction sets the working directory for everything that will happen next -WORKDIR /app - -# Copy all local files into the image -COPY . . - -# Clean install all node modules -RUN npm ci - -# Build SvelteKit app -RUN export NODE_ENV=development; npm run dev - -# Delete source code files that were used to build the app that are no longer needed -# RUN rm -rf src/ static/ emailTemplates/ docker-compose.yml - -# The USER instruction sets the user name to use as the default user for the remainder of the current stage -USER node:node - -# This is the command that will be run inside the image when you tell Docker to start the container -CMD ["node","build/index.js"] diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index e7bd5fa..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,16 +0,0 @@ -version: "3.4" -services: - node: - image: node:14-alpine - volumes: - - type: bind - source: ./ - target: /app - working_dir: /app - command: npm run dev - ports: - - "5000:5000" - environment: - - NODE_ENV=development - - PORT=5000 - - HOST=0.0.0.0