Skip to content

Commit 4042480

Browse files
authored
Removed the split build and exec phase
1 parent cae999e commit 4042480

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM haskell:8.10 AS build
1+
FROM haskell:8.10
22
RUN mkdir -p /app/user
33
WORKDIR /app/user
44
COPY stack.yaml *.cabal ./
@@ -9,7 +9,6 @@ RUN stack build --dependencies-only
99
COPY . /app/user
1010
RUN stack install
1111

12-
FROM ubuntu:latest AS exec
1312
ENV LANG C.UTF-8
1413
CMD /root/.local/bin/mat-chalmers
1514
EXPOSE 5007

0 commit comments

Comments
 (0)