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
13 changes: 5 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
FROM crystallang/crystal:1.14.1
FROM crystallang/crystal:latest
WORKDIR /data
EXPOSE 3002

RUN apt-get update \
&& apt-get install -y \
libnss3 \
libgconf-2-4 \
chromium-browser \
firefox \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN apt-get update && \
apt-get install -y chromium-browser firefox && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

COPY . /data
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@ require "lucky_flow/ext/authentic"

View guide at: https://luckyframework.org/guides/browser-tests/

## Development

> [!NOTE]
> If you use Flatpak to install Chrome, specs will fail to detect your Chrome binary.
> Install Chrome via a standard package install.

- Run format `crystal tool format spec/ src/`
- Run Ameba `./bin/ameba`
- Run specs `crystal spec` (or via docker with `./script/setup` and `./script/test`)

## Contributing

1. Fork it ( https://github.com/luckyframework/lucky_flow/fork )
Expand Down
Loading