mirror of
https://github.com/Django-LiveView/docs.git
synced 2024-11-10 02:45:42 +01:00
This commit is contained in:
parent
26cbc5313c
commit
6efe7a22a0
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
FROM debian:12-slim
|
||||
|
||||
# set work directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Print output
|
||||
RUN export TERM=xterm
|
||||
|
||||
# install software
|
||||
RUN apt update
|
||||
RUN apt install -y emacs-nox
|
||||
|
||||
# Build
|
||||
COPY build.el .
|
||||
ENTRYPOINT emacs --batch --script build.el
|
8
build.el
Normal file
8
build.el
Normal file
@ -0,0 +1,8 @@
|
||||
(progn
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "https://melpa.org/packages/") t)
|
||||
(package-initialize)
|
||||
(package-refresh-contents)
|
||||
(package-install 'one)
|
||||
(one-build))
|
8
compose.yaml
Normal file
8
compose.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
services:
|
||||
|
||||
one-el:
|
||||
build: .
|
||||
restart: "no"
|
||||
volumes:
|
||||
- .:/usr/src/app/
|
Loading…
Reference in New Issue
Block a user