Removed Dockerfile and docker-compose.yaml
This commit is contained in:
21
Dockerfile
21
Dockerfile
@@ -1,21 +0,0 @@
|
|||||||
FROM haskell:9.12.2-slim-bookworm
|
|
||||||
|
|
||||||
ARG UID=1000
|
|
||||||
ARG GID=1000
|
|
||||||
|
|
||||||
RUN groupadd -g ${GID} saundersp \
|
|
||||||
&& useradd -l -m -u "${UID}" -g "${GID}" saundersp
|
|
||||||
|
|
||||||
USER saundersp
|
|
||||||
|
|
||||||
WORKDIR /home/saundersp/haskell_playground
|
|
||||||
|
|
||||||
RUN cabal update
|
|
||||||
|
|
||||||
COPY app app
|
|
||||||
COPY haskell-playground.cabal .
|
|
||||||
|
|
||||||
RUN cabal build
|
|
||||||
|
|
||||||
ENTRYPOINT ["cabal"]
|
|
||||||
CMD ["run"]
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
services:
|
|
||||||
haskell-playground:
|
|
||||||
image: saundersp/haskell-playground
|
|
||||||
pull_policy: never
|
|
||||||
build:
|
|
||||||
args:
|
|
||||||
UID: ${UID:-1000}
|
|
||||||
GID: ${GID:-1000}
|
|
||||||
user: ${UID:-1000}:${GID:-1000}
|
|
||||||
volumes:
|
|
||||||
- ./:/home/saundersp/haskell_playground
|
|
||||||
Reference in New Issue
Block a user