Browse Source

Update Dockerfile and docker-compose for TypeScript

pull/41/head
Abheek Dhawan 3 years ago
parent
commit
b2156802b0
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 4
      Dockerfile
  2. 8
      docker-compose.yml

4
Dockerfile

@ -9,8 +9,8 @@ COPY yarn.lock ./
RUN yarn
# Build
COPY . .
RUN yarn tsc
COPY ./built/* .
RUN cp -r built/* .
CMD [ "node", "index.js" ]

8
docker-compose.yml

@ -8,8 +8,10 @@ services:
- ./data:/data/db
awesomescibo:
image: abheekd/awesomescibo:latest
image: abheekd/awesomescibo:local
restart: unless-stopped
environment:
MONGO_URI: "mongodb://mongo:27017/AWESOME?authSource=AWESOME&w=1"
TOKEN: "TOKEN"
MONGO_URI: "mongodb://mongo:27017/AWESOME"
TOKEN: ""
CLIENT_ID: ""
TESTING_GUIDE: ""

Loading…
Cancel
Save