Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PYTHON not found in PATH - build 3.8 #69

Open
@srameshr

Description

Here is my docker file:

FROM jfloff/alpine-python:3.8-onbuild
 
# Build stage
FROM node:lts-alpine as build
RUN apk update; \
 apk add git;
WORKDIR /tmp
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
# Release stage
FROM node:lts-alpine as release
RUN apk update; \
 apk add git;
VOLUME /parse-server/cloud /parse-server/config
WORKDIR /parse-server
COPY package*.json ./
RUN npm ci --production --ignore-scripts
COPY bin bin
COPY public_html public_html
COPY views views
COPY --from=build /tmp/lib lib
RUN mkdir -p logs && chown -R node: logs
ENV PORT=80
USER node
EXPOSE $PORT
ENTRYPOINT ["node", "./bin/parse-server"]

docker build throws a path error.
PYTHON, PYTHON2, PYTHON3 not found in path

I have copied the entrypoint.sh in the same dir and my requirements.txt is empty as I dont have any package dependencies. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /