Liam
Liam
Explore posts from servers
RRailway
Created by Liam on 5/8/2024 in #✋|help
Nixpacks Ignoring Engines.Node
Hi! For some reason, nixpacks seems to be ignoring my engines.node in my package.json. I have set it to use v12 (This is a legacy project) however it just uses v18 anyways. Any idea why this might be? Thanks!
5 replies
RRailway
Created by Liam on 2/19/2024 in #✋|help
Install Newer Version of Node JS in Dockerfile
Howdy! I was wondering if anyone can help me modify this dockerfile to install a newer version of node. Thanks! Current Dockerfile
FROM alpine:3.14 AS build

WORKDIR /root

RUN apk add --update --no-cache nodejs npm

COPY package*.json ./
COPY tsconfig.json ./
COPY src ./src

RUN npm install
RUN npm run build
RUN npm prune --production

FROM alpine:3.14

WORKDIR /root

COPY --from=build /root/node_modules ./node_modules
COPY --from=build /root/dist ./dist

RUN apk add --update --no-cache postgresql-client nodejs npm

ENTRYPOINT ["node", "dist/index.js"]
FROM alpine:3.14 AS build

WORKDIR /root

RUN apk add --update --no-cache nodejs npm

COPY package*.json ./
COPY tsconfig.json ./
COPY src ./src

RUN npm install
RUN npm run build
RUN npm prune --production

FROM alpine:3.14

WORKDIR /root

COPY --from=build /root/node_modules ./node_modules
COPY --from=build /root/dist ./dist

RUN apk add --update --no-cache postgresql-client nodejs npm

ENTRYPOINT ["node", "dist/index.js"]
11 replies
RRailway
Created by Liam on 2/13/2024 in #✋|help
Running a Bun + pnpm Application on Railway
Hi! I have a monorepo where I use pnpm + turborepo for repo & package managment. One of the apps in the repository, a discord bot, uses bun as its runtime, but still uses pnpm for the actual package installation. Any idea how I can go about getting this working w/ nixpacks / railway? Thanks!
63 replies
RRailway
Created by Liam on 8/31/2023 in #✋|help
Errors Installing Cal.com Template
Hello, I am running into issues installing the cal template. Error: ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn install --check-cache" did not complete
5 replies
RRailway
Created by Liam on 12/19/2022 in #✋|help
Does Railway Provide a Way To Password Protect a Environment?
Question is pretty much in the title. Even something like HTTP Authorization would do.
4 replies
RRailway
Created by Liam on 12/13/2022 in #✋|help
Vaultwarden Instance is Giving a Warning Saying There is No Persistent Volume
Hi, I am trying to set up a vault warden instance, however the deploy logs are giving a warning saying that the lack of persistent volume will lead to data loss on update/restart. I know that railway does not support persistent volumes, so how do I get around this issue? Thanks for the help!
11 replies