mirror of
https://github.com/NotAShelf/catApi.git
synced 2025-02-22 03:18:07 +00:00
get rid of docker junk
This commit is contained in:
parent
2a73463318
commit
6e73121834
3 changed files with 0 additions and 38 deletions
|
@ -1,5 +0,0 @@
|
|||
node_modules/
|
||||
LICENSE
|
||||
README.md
|
||||
package-lock.json
|
||||
yarn.lock
|
10
Dockerfile
10
Dockerfile
|
@ -1,10 +0,0 @@
|
|||
FROM node:17
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /opt/catApi
|
||||
# and copy files into that directory
|
||||
COPY . ./
|
||||
|
||||
RUN npm install -g npm@8 && npm install --save-dev
|
||||
|
||||
CMD npm start
|
|
@ -1,23 +0,0 @@
|
|||
## DO NOT USE ##
|
||||
services:
|
||||
catweb:
|
||||
build: .
|
||||
ports:
|
||||
- "${PORT}:${PORT}"
|
||||
command: npm start
|
||||
container_name: catApi
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./images
|
||||
target: /opt/catApi/images
|
||||
- type: bind
|
||||
source: ./.env
|
||||
target: /opt/catApi/.env
|
||||
tmpfs: /tmp # temp files such are stored here
|
||||
working_dir: /opt/catApi
|
||||
tty: true
|
||||
environment:
|
||||
- NODE_ENV=production # for production
|
||||
- LOG_LEVEL=debug # debug, info, warn, error
|
||||
- FORCE_COLOR=3 # force color output
|
Loading…
Add table
Reference in a new issue