Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.git
dist
node_modules
14 changes: 10 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
FROM node:20-alpine
FROM node:20-alpine AS build

WORKDIR /app

COPY package*.json ./
RUN npm install
RUN npm ci

COPY . .

RUN npm run build
RUN npm run build -- --base=/

FROM node:20-alpine

WORKDIR /app

RUN npm install -g serve

COPY --from=build /app/dist ./dist

EXPOSE 3000

CMD ["serve", "-s", ".", "-l", "3000"]
CMD ["serve", "dist", "-l", "3000"]
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ Open Outlook `.msg` and `.eml` email files in your browser or on your desktop. R
2. Drop one or more `.msg` or `.eml` files into the window, or use the file picker.
3. Select a message to read it and open or save its attachments.

## Self-host with Docker

From the repository root, run:

```bash
docker compose up -d --build
```

Open [localhost:3000](http://localhost:3000/) or use the Docker host's address on port 3000.

## What it does

- Read HTML and plain-text emails, including embedded images.
Expand Down
Loading