Skip to content

Conversation

@nikoshell
Copy link
Contributor

No description provided.

@nikoshell nikoshell self-assigned this Jun 14, 2025
@nikoshell nikoshell requested review from clytaemnestra and hypha June 14, 2025 21:23
@europython-society
Copy link
Member

europython-society commented Jun 14, 2025

Preview available

Key Value
url https://ep2025-docker2.ep-preview.click
last update 2025-06-16T09:20:31.733Z

Copy link
Contributor

@clytaemnestra clytaemnestra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have problem with Docker and it worked previously for me as well, so let's maybe have Raquel verify it.

Copy link
Contributor

@hypha hypha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me now. Thanks, Marcin!

@nikoshell nikoshell merged commit 11be3be into ep2025 Jun 16, 2025
6 checks passed
@nikoshell nikoshell deleted the ep2025-docker2 branch June 16, 2025 17:29
@dariagrudzien
Copy link
Contributor

@nikoshell For some reason it didn't work for me 🤔 I see that make install is executed. I'm a Mac user, would you need any information from me or help debugging? I'm sorry, I don't have the capacity to dive deep into it now, but can help if you tell me what to do 🙇‍♀️

╰─$ docker compose build
[+] Building 124.9s (13/13) FINISHED                                                                                                                                                   docker:desktop-linux
 => [web internal] load build definition from Dockerfile                                                                                                                                               0.0s
 => => transferring dockerfile: 342B                                                                                                                                                                   0.0s
 => [web internal] load .dockerignore                                                                                                                                                                  0.0s
 => => transferring context: 86B                                                                                                                                                                       0.0s
 => [web internal] load metadata for docker.io/library/node:20-slim                                                                                                                                    1.3s
 => [web 1/8] FROM docker.io/library/node:20-slim@sha256:7cd3fbc830c75c92256fe1122002add9a1c025831af8770cd0bf8e45688ef661                                                                             15.4s
 => => resolve docker.io/library/node:20-slim@sha256:7cd3fbc830c75c92256fe1122002add9a1c025831af8770cd0bf8e45688ef661                                                                                  0.0s
 => => sha256:7cd3fbc830c75c92256fe1122002add9a1c025831af8770cd0bf8e45688ef661 6.49kB / 6.49kB                                                                                                         0.0s
 => => sha256:6466df7512dc4863f1f6344147172bf3220b651b2858e495c4296400c534eaa1 1.93kB / 1.93kB                                                                                                         0.0s
 => => sha256:c52bd3e8b9b469beb588d5795a59828c610c610250b14101002ef5ee28142101 6.59kB / 6.59kB                                                                                                         0.0s
 => => sha256:34ef2a75627f6089e01995bfd3b3786509bbdc7cfb4dbc804b642e195340dbc9 28.08MB / 28.08MB                                                                                                      11.7s
 => => sha256:00b6bc59183634774862a1f5d9fa777966ffdd8b4edd6fe07006671358dfc249 3.31kB / 3.31kB                                                                                                         0.2s
 => => sha256:c30aeb5693b3a8b1a3fa5b7af27e516e5506eaacef66b2ebeb64b355dff91102 41.11MB / 41.11MB                                                                                                      14.4s
 => => sha256:4dae0fb9f5b539697177ca08e5ba60a8366da6d19fa7f63a048d6682d50ca1e1 1.71MB / 1.71MB                                                                                                         2.1s
 => => sha256:3312cb15e0ed40c852992c99ba23a3758a8a6552813055f5a85e24fcbd85bc77 449B / 449B                                                                                                             2.3s
 => => extracting sha256:34ef2a75627f6089e01995bfd3b3786509bbdc7cfb4dbc804b642e195340dbc9                                                                                                              1.0s
 => => extracting sha256:00b6bc59183634774862a1f5d9fa777966ffdd8b4edd6fe07006671358dfc249                                                                                                              0.0s
 => => extracting sha256:c30aeb5693b3a8b1a3fa5b7af27e516e5506eaacef66b2ebeb64b355dff91102                                                                                                              0.9s
 => => extracting sha256:4dae0fb9f5b539697177ca08e5ba60a8366da6d19fa7f63a048d6682d50ca1e1                                                                                                              0.0s
 => => extracting sha256:3312cb15e0ed40c852992c99ba23a3758a8a6552813055f5a85e24fcbd85bc77                                                                                                              0.0s
 => [web internal] load build context                                                                                                                                                                  0.0s
 => => transferring context: 330.17kB                                                                                                                                                                  0.0s
 => [web 2/8] RUN apt-get update && apt-get install -y make                                                                                                                                            3.9s
 => [web 3/8] RUN corepack enable                                                                                                                                                                      0.2s
 => [web 4/8] RUN pnpm config set store-dir /home/node/.local/share/pnpm/store                                                                                                                         1.5s
 => [web 5/8] WORKDIR /app                                                                                                                                                                             0.0s
 => [web 6/8] COPY Makefile package.json pnpm-lock.yaml ./                                                                                                                                             0.0s
 => [web 7/8] RUN make install                                                                                                                                                                        97.5s
 => [web 8/8] RUN mkdir -p /app/src                                                                                                                                                                    0.7s
 => [web] exporting to image                                                                                                                                                                           4.3s
 => => exporting layers                                                                                                                                                                                4.3s
 => => writing image sha256:2d05ff3768fcb8e00b4f2623edde389e03bacc7ddf941b9014d7a53458abd3ed                                                                                                           0.0s
 => => naming to docker.io/library/website-web                                                                                                                                                         0.0s
(venv) ╭─dardar@dardar ~/dev/europython/website ‹daria/jg-logo●›
╰─$ docker compose up
[+] Running 1/0
 ✔ Container website-web-1  Created                                                                                                                                                                    0.0s
Attaching to web-1
web-1  |
web-1  | > [email protected] dev /app
web-1  | > astro dev "--host" "0.0.0.0"
web-1  |
web-1  | 10:28:34 AM [vite] (ssr) Error when evaluating SSR module /app/astro.config.mjs: Cannot find module 'vite' imported from '/app/astro.config.mjs'
web-1  |       at fetchModule (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-Bn81Esdm.js:46813:19)
web-1  |       at RunnableDevEnvironment.fetchModule (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-Bn81Esdm.js:47904:12)
web-1  |       at fetchModule (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-Bn81Esdm.js:47858:21)
web-1  |       at handleInvoke (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-Bn81Esdm.js:38973:28)
web-1  |       at EventEmitter.listenerForInvokeHandler (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-Bn81Esdm.js:39046:25)
web-1  |       at EventEmitter.emit (node:events:524:28)
web-1  |       at Object.send (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-Bn81Esdm.js:25190:40)
web-1  |       at Object.invoke (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/module-runner.js:621:34)
web-1  |       at Object.invoke (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/module-runner.js:682:34)
web-1  |       at SSRCompatModuleRunner.getModuleInformation (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/module-runner.js:1205:94)
web-1  | [astro] Unable to load your Astro config
web-1  |
web-1  | Cannot find module 'vite' imported from '/app/astro.config.mjs'
web-1  |   Location:
web-1  |     /app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-Bn81Esdm.js:46813:19
web-1  |   Stack trace:
web-1  |     at fetchModule (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-Bn81Esdm.js:46813:19)
web-1  |     at fetchModule (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-Bn81Esdm.js:47858:21)
web-1  |     at EventEmitter.listenerForInvokeHandler (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-Bn81Esdm.js:39046:25)
web-1  |     at Object.send (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-Bn81Esdm.js:25190:40)
web-1  |     at Object.invoke (file:///app/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/module-runner.js:682:34)
web-1  |  ELIFECYCLE  Command failed with exit code 1.
web-1 exited with code 1

@nikoshell nikoshell mentioned this pull request Jun 18, 2025
nikoshell added a commit that referenced this pull request Jun 18, 2025
Move vite to packages list.

This should solve issue from the comment
#1322 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants