Getting set up
This commit is contained in:
parent
ff4795a1d6
commit
dc64aa2e7f
|
@ -1,3 +1,5 @@
|
||||||
|
*~
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
FROM python:alpine AS base
|
||||||
|
|
||||||
|
RUN \
|
||||||
|
--mount=type=cache,target=/var/cache/apk \
|
||||||
|
apk add -U make
|
||||||
|
|
||||||
|
WORKDIR /app
|
|
@ -0,0 +1,7 @@
|
||||||
|
DEV_SERVICE := dev
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: dev-env
|
||||||
|
|
||||||
|
dev-env:
|
||||||
|
docker compose build --progress=plain $(DEV_SERVICE)
|
|
@ -0,0 +1,5 @@
|
||||||
|
services:
|
||||||
|
dev:
|
||||||
|
container_name: spiff-element-units-dev
|
||||||
|
build:
|
||||||
|
dockerfile: Dockerfile
|
Loading…
Reference in New Issue