diff --git a/Dockerfile b/Dockerfile index 5be0979..2f09ee6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,6 @@ FROM denoland/deno:alpine-2.4.2 AS build WORKDIR /app/src COPY . . -# Set memory limits for Deno to prevent memory leaks -ENV DENO_MEMORY_LIMIT=512MB -ENV DENO_GC_INTERVAL=1000 - RUN deno install RUN deno task build @@ -16,10 +12,6 @@ COPY --from=build /app/src/import_map.json . ENV ORIGIN=http://localhost:3000 -# Set memory limits for runtime to prevent memory leaks -ENV DENO_MEMORY_LIMIT=512MB -ENV DENO_GC_INTERVAL=1000 - RUN deno cache --import-map=import_map.json ./build/index.js EXPOSE 3000