~kyoheiu/frssco

4df740daeec1ad5291f1b181e90e725dcdfb5e5d — Kyohei Uto 6 months ago a2e9903
Use alpine to reduce container size
1 files changed, 3 insertions(+), 3 deletions(-)

M Dockerfile
M Dockerfile => Dockerfile +3 -3
@@ 1,11 1,11 @@
FROM denoland/deno:debian-1.32.5
FROM denoland/deno:alpine-1.33.4

WORKDIR /app

COPY . .
RUN apt-get update && apt-get install -y sqlite3
RUN apk update && apk add sqlite
RUN deno cache main.ts --import-map=import_map.json

EXPOSE 8080

CMD ["run", "-A", "--unstable", "main.ts"]
\ No newline at end of file
CMD ["run", "-A", "--unstable", "main.ts"]