Update docker scripts
This commit is contained in:
parent
7572df48f7
commit
8fa255631d
3 changed files with 13 additions and 7 deletions
|
@ -3,7 +3,10 @@ version: "3.4"
|
|||
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile
|
||||
image: glenux/teaching-boilerplate
|
||||
environment: {}
|
||||
ports:
|
||||
- 5100:5100
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
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 pipenv \
|
||||
&& apt-get clean
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y python3 python3-pip
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y make build-essential inotify-tools \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
|
||||
&& truncate -s 0 /var/log/*log
|
||||
|
||||
RUN pip3 install pipenv
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
ARGS="$*"
|
||||
echo "Arguments: $ARGS"
|
||||
|
||||
make "$0"
|
||||
exec make "$@"
|
||||
|
|
Loading…
Reference in a new issue