diff --git a/Dockerfile b/Dockerfile index 42d46b5..e1248ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM denoland/deno:alpine AS builder WORKDIR /app -COPY deno.json import_map.json ./ -COPY dev.ts main.ts .env* ./ +COPY deno.json ./ + +COPY dev.ts main.ts fresh.config.ts fresh.gen.ts ./ COPY components/ ./components/ COPY islands/ ./islands/ @@ -25,5 +26,4 @@ ENV DENO_DEPLOYMENT=production EXPOSE 8000 -# Run the server CMD ["run", "-A", "main.ts"]