pleshevski.ru/Dockerfile
Dmitriy Pleshevskiy 890c1f74ed
All checks were successful
continuous-integration/drone/push Build is passing
update to new arch (#2)
Closes #1

Reviewed-on: #2
Co-authored-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
Co-committed-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
2022-06-08 20:24:19 +00:00

13 lines
220 B
Docker

FROM denoland/deno:alpine-1.22.1
EXPOSE 33334
WORKDIR /app
USER deno
ADD . .
# Compile the main app so that it doesn't need to be compiled each startup/entry.
RUN deno cache server.ts
CMD ["run", "-A", "server.ts"]