Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Local setup failing for "Apps" #321

Open
akashtyagi08 opened this issue Oct 10, 2024 · 0 comments
Open

Docker Local setup failing for "Apps" #321

akashtyagi08 opened this issue Oct 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@akashtyagi08
Copy link

Report

I have local .env.docker image and then tried to compose image but getting certain directory related issue as shared in the screenshot.

Screenshot 2024-10-10 at 8 15 00 PM

I tried to edit the DockerFile under apps/server to remove the "dist" but still it failed again as it seems to be expected.

Screenshot 2024-10-10 at 8 17 51 PM

Expected behavior

Ideally it should run

Steps to reproduce the problem

  1. Download repo
  2. Local env file
  3. podman compose up (using alternate of Docker)

Logs (if applicable)

Preparing to unpack .../14-publicsuffix_20220811.1734-0+deb11u1_all.deb ...
Unpacking publicsuffix (20220811.1734-0+deb11u1) ...
Setting up libpsl5:amd64 (0.21.0-1.2) ...
Setting up libbrotli1:amd64 (1.0.9-2+b2) ...
Setting up libsasl2-modules:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Setting up libnghttp2-14:amd64 (1.43.0-1+deb11u2) ...
Setting up libldap-common (2.4.57+dfsg-3+deb11u1) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Setting up libssh2-1:amd64 (1.9.0-2+deb11u1) ...
Setting up openssl (1.1.1w-0+deb11u1) ...
Setting up publicsuffix (20220811.1734-0+deb11u1) ...
Setting up libldap-2.4-2:amd64 (2.4.57+dfsg-3+deb11u1) ...
Setting up ca-certificates (20210119) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
129 added, 0 removed; done.
Setting up libcurl4:amd64 (7.74.0-1.3+deb11u13) ...
Setting up curl (7.74.0-1.3+deb11u13) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...
Processing triggers for ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
--> 1b169a666190
STEP 5/14: WORKDIR /app
--> 86f84e161711
STEP 6/14: COPY ./dist/apps/server/package*.json ./
building at STEP "COPY ./dist/apps/server/package*.json ./": checking on sources under "/var/tmp/libpod_builder2963250586/build": Rel: can't make  relative to /var/tmp/libpod_builder2963250586/build; copier: stat: ["/dist/apps/server/package*.json"]: no such file or directory

ERROR: Service 'pezzo-clickhouse-migrate' failed to build : Build failed
Error: executing /usr/local/bin/docker-compose -f docker-compose.infra.yaml up: exit status 1

Pezzo version

0.9.2

How do you use Pezzo?

Docker Compose

@akashtyagi08 akashtyagi08 added the bug Something isn't working label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant