You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
420 B
15 lines
420 B
FROM denoland/deno:alpine AS build |
|
WORKDIR /app/src |
|
COPY . . |
|
RUN deno install |
|
RUN deno task build |
|
|
|
FROM denoland/deno:alpine AS release |
|
WORKDIR /app |
|
COPY --from=build /app/src/build/ ./build/ |
|
COPY --from=build /app/src/import_map.json . |
|
|
|
ENV ORIGIN=https://next-alexandria.gitcitadel.eu |
|
|
|
EXPOSE 3000 |
|
CMD [ "deno", "run", "--allow-env", "--allow-read", "--allow-net", "--import-map=import_map.json", "./build/index.js" ]
|
|
|