Compare commits

..

No commits in common. "94167e162eb211e90d1a0c7bf749ddff25b89c60" and "d1559897e8e8b792ac92979f26e1591882769b9d" have entirely different histories.

3 changed files with 1 additions and 29 deletions

View File

@ -1,12 +0,0 @@
FROM rust:latest as builder
WORKDIR /usr/src/app
COPY ./dermy-api/* .
COPY ./dermy-models/models/mobilenet_v3.keras ./src/model/model.keras
RUN cargo build --release
FROM python:alpine
COPY ./dermy-models/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY --from=builder ./target/release/dermy-api /usr/local/bin/dermy-api
ENTRYPOINT dermy-api

@ -1 +1 @@
Subproject commit 9cdf52f40950500e340635fbc96baf266dcfcb46 Subproject commit f34f725e32b65b0486ee0e2e7869d10f68e7e55e

View File

@ -1,16 +0,0 @@
version '3.1'
services:
database:
image: mongo:latest
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: ${DB_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${DB_PASSWORD}
api:
image: r0r5chach/dermy-api:latest
ports:
- 3000:3000