Skip to content

PYTHON not found in PATH - build 3.8 #69

Description

@srameshr

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. 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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