Spaces:
Build error
Build error
chore: Update Dockerfile to use slim version of Elixir image and fix build stage name
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM elixir:1.13.4-slim AS
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
@@ -20,7 +20,7 @@ FROM elixir:1.13.4-slim
|
|
| 20 |
|
| 21 |
WORKDIR /app
|
| 22 |
|
| 23 |
-
COPY --from=
|
| 24 |
|
| 25 |
ARG SRH_MODE
|
| 26 |
ENV SRH_MODE=${SRH_MODE}
|
|
|
|
| 1 |
+
FROM elixir:1.13.4-slim AS builderoo
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
| 20 |
|
| 21 |
WORKDIR /app
|
| 22 |
|
| 23 |
+
COPY --from=builderoo /app/_build/prod/rel/prod/ ./_build/prod/rel/prod/
|
| 24 |
|
| 25 |
ARG SRH_MODE
|
| 26 |
ENV SRH_MODE=${SRH_MODE}
|