Add Dockerfile

This commit is contained in:
2026-07-30 17:36:49 -07:00
parent 914c0374e4
commit 0a96071ffe

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM perl:latest
WORKDIR /opt/app/
COPY cpanfile .
COPY cpanfile.snapshot .
COPY mojo_app ./mojo_app/
RUN cpanm Carton && carton install
EXPOSE 3000
WORKDIR /opt/app/mojo_app/
ENTRYPOINT ["carton", "exec", "--", "morbo", "script/mojo_app"]