summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorDessalines <happydooby@gmail.com>2019-04-09 15:33:49 -0700
committerDessalines <happydooby@gmail.com>2019-04-09 15:33:49 -0700
commit658795f5311d54f68dd0ed145569c3b0f284b463 (patch)
treeeea55d1dcfae51643b50e2df1a5558b48567e8ea /Dockerfile
parentab9cdd990d67710f031c97a9069992b3088f16cb (diff)
Navbar fix
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 9a7caccd..b4478d19 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,8 +5,8 @@ RUN cd /app/ui && yarn && yarn build
FROM rust:1.33 as rust
COPY server /app/server
+WORKDIR /app/server
COPY --from=node /app/ui/dist /app/dist
-RUN cd /app/server && cargo build --release
+RUN cargo build --release
RUN mv /app/server/target/release/lemmy /app/
-WORKDIR /app/
EXPOSE 8536