alpine
alpine
RRailway
Created by tanosaur on 1/22/2023 in #✋|help
MongoDB
I recently switched from MongoDB Atlas to Railway's hosted mongodb (for simplicity) actually - works well
11 replies
RRailway
Created by tanosaur on 1/22/2023 in #✋|help
MongoDB
this is correct, Railway uses the open source MongoDB database to launch their own hosted solution completely outside of MongoDB's managed solution: Atlas.
11 replies
RRailway
Created by alpine on 1/16/2023 in #✋|help
unexpected EOF on build
That's more of my issue, I can get it work by restarting until success
10 replies
RRailway
Created by alpine on 1/16/2023 in #✋|help
unexpected EOF on build
works on redeploy, but as I said it randomly fails
10 replies
RRailway
Created by alpine on 1/16/2023 in #✋|help
unexpected EOF on build
The totality of the error is unexpected EOF but here's the build trace :
║ install │ python -m venv /opt/venv && . /opt/venv/bin/activate && pip ║
║ │ install -r requirements.txt ║
║──────────────────────────────────────────────────────────────────────────────║
║ start │ python analytics_service/main.py ║
╚══════════════════════════════════════════════════════════════════════════════╝


#2 [internal] load .dockerignore
#2 sha256:65d3b0ed3b008ac84d5e72534172cecf19b8eebecef5ca5509ff77e65c97286d
#2 DONE 0.0s


#1 [internal] load build definition from Dockerfile
#1 sha256:54a837632dc345bb735af4aaddb1a33f5409b93cebd2f496055bee754cad4e3d
#1 DONE 0.0s


#2 [internal] load .dockerignore
#2 sha256:65d3b0ed3b008ac84d5e72534172cecf19b8eebecef5ca5509ff77e65c97286d

#2 transferring context: 2B done

#2 ...

#1 [internal] load build definition from Dockerfile
#1 sha256:54a837632dc345bb735af4aaddb1a33f5409b93cebd2f496055bee754cad4e3d
#1 transferring dockerfile: 2.43kB done

#1 ...

#2 [internal] load .dockerignore
#2 sha256:65d3b0ed3b008ac84d5e72534172cecf19b8eebecef5ca5509ff77e65c97286d
#2 DONE 13.6s


#1 [internal] load build definition from Dockerfile
#1 sha256:54a837632dc345bb735af4aaddb1a33f5409b93cebd2f496055bee754cad4e3d

#1 DONE 14.6s


#3 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1673375667
#3 sha256:d1b589dc22aa3588cda5918cc7d2de8fbc9cb1b6b86f0173223491302aa8c821

#3 DONE 1.2s

#4 [stage-0 1/8] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1673375667@sha256:528931c0e3ba98f759dc91b36522b8c1743ad85152447d282b427d5f04914af7
#4 sha256:45b8a7aac880bd83a4a72f1829fc36d831784fd9888bfa84a29f6718b1baf49d
#4 DONE 0.0s

#5 [stage-0 2/8] WORKDIR /app/
#5 sha256:bbd825bd1b472a0ab5d7ac76fbd4e9a78b084f218bdd438e040e31b97130ffde
#5 CACHED


#6 [internal] load build context
#6 sha256:8077a1afc2f0cc63a54379c3f599606a24a574baae85cd1ee8cd34a034ec868c
#6 DONE 0.0s


#6 [internal] load build context
#6 sha256:8077a1afc2f0cc63a54379c3f599606a24a574baae85cd1ee8cd34a034ec868c

#6 transferring context: 191.67kB done

#6 DONE 14.5s


#7 [stage-0 3/8] COPY .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix
#7 sha256:bee28071f764cfd80c427420859b2b1f953dcbec26e7a6ac782754bb7ab80cb4
#7 CACHED

#8 [stage-0 4/8] RUN nix-env -if .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix && nix-collect-garbage -d
#8 sha256:e69c73096346e75716bf59abf111d93136d5871b60098fcc472ae888a5f60a49
#8 CACHED

#9 [stage-0 5/8] RUN printf '\nPATH=/opt/venv/bin:$PATH' >> /root/.profile
#9 sha256:9a2b9769bb727e10c0990b2af29dd6958e3037f837c18f3919359e234ff7fdbd

#9 DONE 183.3s


#10 [stage-0 6/8] COPY . /app/.
#10 sha256:add870a68b7b527ba0a9072a019bd94e481b5392a216912d19c4fa129c74a025

#10 DONE 18.4s


#11 [stage-0 7/8] RUN --mount=type=cache,id=s/83d34a56-302a-47ee-9802-5ab8a5e7e7c9-/root/cache/pip,target=/root/.cache/pip python -m venv /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt
#11 sha256:d25f3cf1a1c2a9663c552fc8ba9a5335c3aca6fcaa6a47c336db0e829f56315e

...

#11 DONE 148.7s


#12 [stage-0 8/8] COPY . /app
#12 sha256:6d5cb090a9963ccfabb744426db0945e8318ff4305b634a55b7ddaecc1f6186d

#12 DONE 29.3s

unexpected EOF

Error: Docker build failed
║ install │ python -m venv /opt/venv && . /opt/venv/bin/activate && pip ║
║ │ install -r requirements.txt ║
║──────────────────────────────────────────────────────────────────────────────║
║ start │ python analytics_service/main.py ║
╚══════════════════════════════════════════════════════════════════════════════╝


#2 [internal] load .dockerignore
#2 sha256:65d3b0ed3b008ac84d5e72534172cecf19b8eebecef5ca5509ff77e65c97286d
#2 DONE 0.0s


#1 [internal] load build definition from Dockerfile
#1 sha256:54a837632dc345bb735af4aaddb1a33f5409b93cebd2f496055bee754cad4e3d
#1 DONE 0.0s


#2 [internal] load .dockerignore
#2 sha256:65d3b0ed3b008ac84d5e72534172cecf19b8eebecef5ca5509ff77e65c97286d

#2 transferring context: 2B done

#2 ...

#1 [internal] load build definition from Dockerfile
#1 sha256:54a837632dc345bb735af4aaddb1a33f5409b93cebd2f496055bee754cad4e3d
#1 transferring dockerfile: 2.43kB done

#1 ...

#2 [internal] load .dockerignore
#2 sha256:65d3b0ed3b008ac84d5e72534172cecf19b8eebecef5ca5509ff77e65c97286d
#2 DONE 13.6s


#1 [internal] load build definition from Dockerfile
#1 sha256:54a837632dc345bb735af4aaddb1a33f5409b93cebd2f496055bee754cad4e3d

#1 DONE 14.6s


#3 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1673375667
#3 sha256:d1b589dc22aa3588cda5918cc7d2de8fbc9cb1b6b86f0173223491302aa8c821

#3 DONE 1.2s

#4 [stage-0 1/8] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1673375667@sha256:528931c0e3ba98f759dc91b36522b8c1743ad85152447d282b427d5f04914af7
#4 sha256:45b8a7aac880bd83a4a72f1829fc36d831784fd9888bfa84a29f6718b1baf49d
#4 DONE 0.0s

#5 [stage-0 2/8] WORKDIR /app/
#5 sha256:bbd825bd1b472a0ab5d7ac76fbd4e9a78b084f218bdd438e040e31b97130ffde
#5 CACHED


#6 [internal] load build context
#6 sha256:8077a1afc2f0cc63a54379c3f599606a24a574baae85cd1ee8cd34a034ec868c
#6 DONE 0.0s


#6 [internal] load build context
#6 sha256:8077a1afc2f0cc63a54379c3f599606a24a574baae85cd1ee8cd34a034ec868c

#6 transferring context: 191.67kB done

#6 DONE 14.5s


#7 [stage-0 3/8] COPY .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix
#7 sha256:bee28071f764cfd80c427420859b2b1f953dcbec26e7a6ac782754bb7ab80cb4
#7 CACHED

#8 [stage-0 4/8] RUN nix-env -if .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix && nix-collect-garbage -d
#8 sha256:e69c73096346e75716bf59abf111d93136d5871b60098fcc472ae888a5f60a49
#8 CACHED

#9 [stage-0 5/8] RUN printf '\nPATH=/opt/venv/bin:$PATH' >> /root/.profile
#9 sha256:9a2b9769bb727e10c0990b2af29dd6958e3037f837c18f3919359e234ff7fdbd

#9 DONE 183.3s


#10 [stage-0 6/8] COPY . /app/.
#10 sha256:add870a68b7b527ba0a9072a019bd94e481b5392a216912d19c4fa129c74a025

#10 DONE 18.4s


#11 [stage-0 7/8] RUN --mount=type=cache,id=s/83d34a56-302a-47ee-9802-5ab8a5e7e7c9-/root/cache/pip,target=/root/.cache/pip python -m venv /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt
#11 sha256:d25f3cf1a1c2a9663c552fc8ba9a5335c3aca6fcaa6a47c336db0e829f56315e

...

#11 DONE 148.7s


#12 [stage-0 8/8] COPY . /app
#12 sha256:6d5cb090a9963ccfabb744426db0945e8318ff4305b634a55b7ddaecc1f6186d

#12 DONE 29.3s

unexpected EOF

Error: Docker build failed
10 replies
RRailway
Created by alpine on 1/16/2023 in #✋|help
unexpected EOF on build
If this is a potential issue with nixpacks, wondering if I can mitigate this issue by writing my own Dockerfiles?
10 replies
RRailway
Created by alpine on 1/13/2023 in #✋|help
Public API to get usage costs?
@eirk @Adam I'm new to railway and I'm still gauging if it's gonna be a permanent solution so sticking to the dev plan until then
24 replies
RRailway
Created by alpine on 1/13/2023 in #✋|help
Public API to get usage costs?
unfortunate this isn't available now, excited for when it is!
24 replies