From d290158a1b956d3fdf9ad8d66d7e57fa6d13dc5d Mon Sep 17 00:00:00 2001 From: nadinCodeHat Date: Wed, 16 Mar 2022 18:07:21 +0530 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c7d3ab7..019f620 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Open Translate -Neural Machine Translation with React + Hugging Face Transformers + Docker +Neural Machine Translation with React + Hugging Face Transformers # Setup and installation ## Frontend From d53fd31c542e9ed2fef69403775d0cbed8a01d5a Mon Sep 17 00:00:00 2001 From: nadinCodeHat Date: Wed, 16 Mar 2022 18:07:36 +0530 Subject: [PATCH 2/2] Remove docker --- .dockerignore | 7 ------- Dockerfile | 23 ----------------------- docker-compose.yml | 13 ------------- 3 files changed, 43 deletions(-) delete mode 100644 .dockerignore delete mode 100644 Dockerfile delete mode 100644 docker-compose.yml diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 0607215..0000000 --- a/.dockerignore +++ /dev/null @@ -1,7 +0,0 @@ -node_modules -npm-debug.log -build -.dockerignore -**/.git -**/.DS_Store -**/node_modules \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 093e482..0000000 --- a/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -# pull the base image -FROM node:alpine - -ENV NODE_ENV development - -# set the working direction -WORKDIR /opentranslate - -# add `/app/node_modules/.bin` to $PATH -ENV PATH /opentranslate/node_modules/.bin:$PATH - -# install app dependencies -COPY package.json ./ - -COPY package-lock.json ./ - -RUN npm install - -# add app -COPY . ./ - -# start app -CMD ["npm", "start"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 594d07f..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: '3.9' -services: - app: - build: - context: . - target: development - volumes: - - .:/core - ports: - - 3000:3000 - image: app:opentranslate - container_name: opentranslate-container - command: npm start \ No newline at end of file