added dockerfiles
for building the stuff
This commit is contained in:
1 parent
6eea6724bf
commit
79cc4caa58
3 files changed
+44
No files matched your search
@@ -0,0 +1,17 @@
|
||||
FROM denoland/deno:alpine
|
||||
|
||||
RUN apk add bash
|
||||
|
||||
# USER deno
|
||||
|
||||
RUN deno cache --reload deno.json
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN bash -c 'deno cache main.ts'
|
||||
|
||||
RUN bash -c 'deno task build'
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ['run', '-A', 'main.ts']
|
||||
Reference in new issue
Block a user