Add docker files
This commit is contained in:
parent
6cf1a73b69
commit
ce08f3d90f
3 changed files with 27 additions and 10 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,10 +0,0 @@
|
|||
FROM node:buster-slim
|
||||
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y make python build-essential
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN make prepare
|
||||
CMD make watch
|
21
docker/Dockerfile
Normal file
21
docker/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM node:bullseye-slim
|
||||
MAINTAINER Glenn ROLLAND <glenux@glenux.net>
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y make build-essential
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y python3 python3-pip
|
||||
|
||||
RUN pip3 install pipenv
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
ENV LANG=C
|
||||
ENV LC_ALL=C
|
||||
|
||||
RUN make prepare
|
||||
|
||||
ENTRYPOINT ["/app/docker/entrypoint.sh"]
|
||||
CMD ["watch"]
|
6
docker/entrypoint.sh
Executable file
6
docker/entrypoint.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
ARGS="$*"
|
||||
echo "Arguments: $ARGS"
|
||||
|
||||
make "$0"
|
Loading…
Reference in a new issue