diff --git a/Dockerfile b/Dockerfile index 39ac949..4dd9167 100644 --- a/Dockerfile +++ b/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" ] diff --git a/docker-compose.yml b/docker-compose.yml index 81eb296..cf56617 100644 --- a/docker-compose.yml +++ b/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: ""