konyan
konyan
RRailway
Created by konyan on 11/15/2023 in #✋|help
nixpacks.toml setup for node-gd Lib
15 replies
RRailway
Created by konyan on 11/15/2023 in #✋|help
nixpacks.toml setup for node-gd Lib
working well
15 replies
RRailway
Created by konyan on 11/15/2023 in #✋|help
nixpacks.toml setup for node-gd Lib
cool
15 replies
RRailway
Created by konyan on 11/15/2023 in #✋|help
nixpacks.toml setup for node-gd Lib
show i need to add
# Define the command to run the application
CMD ["npm", "start"]
# Define the command to run the application
CMD ["npm", "start"]
15 replies
RRailway
Created by konyan on 11/15/2023 in #✋|help
nixpacks.toml setup for node-gd Lib
it is OK
FROM node:latest

RUN mkdir /app
WORKDIR /app

RUN apt-get update && \
apt-get install -y libgd-dev && \
apt-get clean

ENV PATH /app/node_modules/.bin:$PATH

COPY package.json package-lock.json /app/
RUN npm install

COPY . /app/
FROM node:latest

RUN mkdir /app
WORKDIR /app

RUN apt-get update && \
apt-get install -y libgd-dev && \
apt-get clean

ENV PATH /app/node_modules/.bin:$PATH

COPY package.json package-lock.json /app/
RUN npm install

COPY . /app/
15 replies
RRailway
Created by konyan on 11/15/2023 in #✋|help
nixpacks.toml setup for node-gd Lib
can you support sample docker file with node js support format?
15 replies
RRailway
Created by konyan on 11/15/2023 in #✋|help
nixpacks.toml setup for node-gd Lib
let me clean, nixpack.toml and try again. still fail I will try docker way
15 replies