added dockerfiles
for building the stuff
This commit is contained in:
17
frontend/Dockerfile
Normal file
17
frontend/Dockerfile
Normal file
@@ -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