14 lines
183 B
Docker
14 lines
183 B
Docker
|
FROM denoland/deno:alpine
|
||
|
|
||
|
ARG GIT_REVISION
|
||
|
ENV DENO_DEPLOYMENT_ID=${GIT_REVISION}
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY . .
|
||
|
RUN deno cache main.ts && deno task build
|
||
|
|
||
|
EXPOSE 8000
|
||
|
|
||
|
CMD ["task", "run"]
|