Getting set up

This commit is contained in:
Jon Herron 2023-04-12 12:30:45 -04:00
parent ff4795a1d6
commit dc64aa2e7f
4 changed files with 21 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
*~
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM python:alpine AS base
RUN \
--mount=type=cache,target=/var/cache/apk \
apk add -U make
WORKDIR /app

7
Makefile Normal file
View File

@ -0,0 +1,7 @@
DEV_SERVICE := dev
.PHONY: all
all: dev-env
dev-env:
docker compose build --progress=plain $(DEV_SERVICE)

5
docker-compose.yml Normal file
View File

@ -0,0 +1,5 @@
services:
dev:
container_name: spiff-element-units-dev
build:
dockerfile: Dockerfile