diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index c837dec7..00000000 --- a/.dockerignore +++ /dev/null @@ -1,16 +0,0 @@ -node_modules/ -*.swp -.lock-wscript -lib/ -Makefile.gyp -*.Makefile -*.target.gyp.mk -*.node -example/*.log -docs/ -npm-debug.log -/.idea/ -.env -build/ -.vscode/ -.git/ diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index c346e554..00000000 --- a/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM node:12 -MAINTAINER Paris Kasidiaris - -# Set the working directory -WORKDIR /usr/src/app - -# Set an entrypoint, to automatically install node modules -ENTRYPOINT ["/bin/bash", "-c", "if [[ ! -d node_modules ]]; then npm install; fi; exec \"${@:0}\";"] -CMD ["npm", "run", "start"] - -# First, install dependencies to improve layer caching -COPY package.json /usr/src/app/ -RUN npm install - -# Add the code -COPY . /usr/src/app - -# Run the tests and build, to make sure everything is working nicely -RUN npm run build && npm run test diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 6eefed89..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,17 +0,0 @@ -version: "3" - -services: - web: - image: xtermjs/xterm.js:latest - build: . - volumes: - - ./:/usr/src/app - ports: - - ${XTERMJS_PORT:-3000}:3000 - command: ["npm", "start"] - - watch: - build: . - volumes: - - ./:/usr/src/app - command: ["npm", "run", "watch"]